Use reflection to get property names, to create table, Only first time, others will follow For that purpose, i am using LINQ skip and take procedure like LINQ query to get data in batch-wise.Īfter that, i am converting LINQ query to data table then doing the export.īelow is the code for converting linq query to datatable: public DataTable LINQToDataTable(IEnumerable varlist) For loading gridview I am able to show data in gridview but I need to have their export functionality. I have one application where I used LINQ to load data in grid view.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |