Last post Jul 26, 2017 06:16 AM by pelums123
Jul 20, 2017 05:27 PM|BerrySmith|LINK
How to create an export button to export data in excel format.
I did a code for one table data, but when it comes to all the tables or view data from procedures how to do it?
For eg : based on selection of the columns from frontend we will export the data.
Jul 21, 2017 01:33 AM|Kelmen|LINK
Jul 21, 2017 02:40 PM|BerrySmith|LINK
I am looking for asp.net and C# code for the below logic.
When I click on the button (load) I want to display start and end dates parameter which will select data from drop down list. and the validation must be end week is lesser than start week.
and the data should be in this format week1 January 2015
once the user select start and end dates they will click on export to see the data in excel.
Jul 25, 2017 06:15 AM|Nan Yu|LINK
When you show the table in page , you must get data from database(or files ..) , if you are using c# to get data , you may get a datatable and bind the datatable to control(for example, gridview) to show the table . It is not difficult to add
dropdownlist to your page , and check the values according to selection of dropdownlist . The main part is how to export records to excel , please refer to below link for how to export DataTable to Excel :
Jul 26, 2017 06:16 AM|pelums123|LINK
Hello try this method.
attachment = "attachment;
sw = new
htw = new