DataGrid without binding

  • Thread starter Thread starter CD
  • Start date Start date
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
 
Amit,
I'm not finding a property called AutoGenerateColumns on a dataGrid. What am
I missing?

CD
 
Back
Top