Hi guys,
i'm able to export data to an excel from my asp .net page, i can even create multiple worksheets. the problem is, i can not specify where worksheet should the data be placed. below is my sample code...
response.Conten tType = "applicatio n/vnd.ms-excel"
<xml><x:ExcelWo rkbook> <x:ExcelWorkshe ets><x:ExcelWor ksheet><x:Name> "Worksheet1 "</x:Name>
<x:WorksheetOpt ions><x:Print>< x:ValidPrinterI nfo/></x:Print><x:Sele cted/><x:DoNotDispla yGridlines/></x:WorksheetOpti ons>
</x:ExcelWorkshee t>
<x:ExcelWorkshe et><x:Name>Work sheet2</x:Name><x:Works heetOptions><x: Print><x:ValidP rinterInfo/></x:Print><x:Sele cted/><x:DoNotDispla yGridlines/></x:WorksheetOpti ons></x:ExcelWorkshee t></x:ExcelWorkshee ts>
</x:ExcelWorkbook >
any help will be greatly appreciated. thanks!
i'm able to export data to an excel from my asp .net page, i can even create multiple worksheets. the problem is, i can not specify where worksheet should the data be placed. below is my sample code...
response.Conten tType = "applicatio n/vnd.ms-excel"
<xml><x:ExcelWo rkbook> <x:ExcelWorkshe ets><x:ExcelWor ksheet><x:Name> "Worksheet1 "</x:Name>
<x:WorksheetOpt ions><x:Print>< x:ValidPrinterI nfo/></x:Print><x:Sele cted/><x:DoNotDispla yGridlines/></x:WorksheetOpti ons>
</x:ExcelWorkshee t>
<x:ExcelWorkshe et><x:Name>Work sheet2</x:Name><x:Works heetOptions><x: Print><x:ValidP rinterInfo/></x:Print><x:Sele cted/><x:DoNotDispla yGridlines/></x:WorksheetOpti ons></x:ExcelWorkshee t></x:ExcelWorkshee ts>
</x:ExcelWorkbook >
any help will be greatly appreciated. thanks!
Comment