I am still stuck at getting a datagrid to export to an Excel file. I have found ways to do it if your datagrid populate on the page load event but mine doesnt it poulates on a button_click event.
So I have 2 questions and you can pick what ever is the easiest or best to use as I dont know.
1. How can I change a query on a page load_event from another page to populate a datagrid.
or
2.Or if I can export my datagrid to an excel file after it populates from a button_click event.
Any help will be Highly appreciated
So I have 2 questions and you can pick what ever is the easiest or best to use as I dont know.
1. How can I change a query on a page load_event from another page to populate a datagrid.
or
2.Or if I can export my datagrid to an excel file after it populates from a button_click event.
Any help will be Highly appreciated