| Well, I was getting too bored so I thought of implementing the Export Button Server Control. Now you can simply drag and drop the export button on the form and give it the id of the Datagrid or the TextBox control that you want to export. After supplying the id of the control simply run the application and push the button and it will export the contents of the DataGrid to the Excel file. Ohh yeah you can also provide the name of the file name using FileName property. Check out this link to download the control: http://gridviewguy.com/ArticleDetails.aspx?articleID=127 Thanks and enjoy! powered by IMHO |
Print | posted @ Thursday, November 17, 2005 9:59 PM