PDA

View Full Version : مبتدی: convert to text format in export to excell



Mainar
دوشنبه 02 مرداد 1391, 10:10 صبح
سلام
چطور ميشه قبل از ارسال اطلاعاتdataset به excell ،فرمت سلولهاي فايل خروجي(excell) رو تبديل به text كرد؟
در ضمن نميخوام اطلاعات رو داخل datagrid يا gridviwe بريزم.ميخوام سطر يه سطر اطلاعات رو از dataset بخونم و به excell بفرستم.

imanasp
دوشنبه 02 مرداد 1391, 10:21 صبح
سلام
چطور ميشه قبل از ارسال اطلاعاتdataset به excell ،فرمت سلولهاي فايل خروجي(excell) رو تبديل به text كرد؟
در ضمن نميخوام اطلاعات رو داخل datagrid يا gridviwe بريزم.ميخوام سطر يه سطر اطلاعات رو از dataset بخونم و به excell بفرستم.

این لینکها رو ببین:

http://tim.mackey.ie/HowtoExportADatasetToExcelCAspnet.aspx

http://stackoverflow.com/questions/5790431/export-data-from-dataset-to-excel

http://www.codeproject.com/Articles/164582/8-Solutions-to-Export-Data-to-Excel-for-ASP-NET