Hello Team,
I have a multi-select listbox.
It has all the column values of a table.
I have a datatable with 107 columns.
Now, from the user-interface, user has to select the columns that the user wants to see in the gridview.
How do I - remove the columns from datatable which the user does not want.?
From listbox items, how do I subtract datatable columns?
Please guide.
Sachin SinghPosted Jun 9, 2021, 10:06 AM
Jignesh KumarPosted Jun 9, 2021, 7:46 AM
Hi,
Please refer this linkw which will help you,
https://stackoverflow.com/questions/14497367/how-i-can-search-rows-in-a-datatable-with-a-searchstring
You can pass selected columns list and select that's columns from. Data table
Riddhi ValechaPosted Jun 9, 2021, 7:00 AM
Jignesh KumarPosted Jun 9, 2021, 3:40 AM