Quantcast
Viewing all articles
Browse latest Browse all 12583

Mapping DataGridView to Data Table

Hello All,

How to reflect the caption property of column in data table in the data grid view column property of DataPropertyName or Header Text or Name of the column. I want this for mapping purposes from data grid view to data table.


Can you also please tell me other option for getting the column index of data table on click of a cell of any column of data grid view. The data table has some columns hidden. So this re-orders the column indexes on gridview. I do not want this re-numbering of columns.


Viewing all articles
Browse latest Browse all 12583

Trending Articles