If you are binding to a DataSet, then you can get information from the
DataTable itself, as well as the DataColumn instances on the DataTable which
represent the columns.
If you are using some other class instance to bind to the data grid,
then you have to get that information yourself from whatever class you are
binding to.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"abc my vclass" <my********@myclass.com> wrote in message
news:eC*************@TK2MSFTNGP12.phx.gbl...
How can I make DataGridView retrieve the table structure from DAL or BLL
for design?