How can I make DataGridView retrieve the table structure from DAL or BLL for design?

  • Thread starter Thread starter abc my vclass
  • Start date Start date
A

abc my vclass

How can I make DataGridView retrieve the table structure from DAL or BLL for
design?
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top