DataGrid without binding

C

CD

If I am presenting a DataGrid to the user in which the contents cannot be
changed, is there a way to have the data automatically bound? I want to
issue a freeform select statement and have the data populate a DataGrid, but
I do not want to have to config each column with the details of the data
just in order to get it to display.


I guess in leiu of this, is there some magic code that will dynamically bind
the data given the sqlConnectin/session that was used to select the data.

Thanks
CD
 
C

CD

Amit,
I'm not finding a property called AutoGenerateColumns on a dataGrid. What am
I missing?

CD
 

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

Top