GridView bound to DataSet binds to...what precisely?

L

Lee Boozer

I have a GridView being bound to a DataSet. But it does not seem to be
binding to the DefaultView of Table[0] of the dataset. (If I set a Sort
property on Table[0].DefaultView, it does not sort the data.)

Q: If the GridView isn't binding to Table[0].DefaultView, what is it binding
to when its DataSource is a dataset?

Note - I'm working on some base class code, so just using the DefaultView as
the datasource (instead of a dataset) isn't an option - I'm trying to support
both options.
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top