firstdivision
MIS
Hi All,
I'm trying to select subsets of data and bind them to programatically generated datagrids. The code I came up with seems like it should work, and it almost does....but not quite
When I do this:
I get this in my datagrid:
The number of items in the datagrid will change depending on what I "select", so that part works, but how do I get the data and not an error count of sorts?
Thanks,
FD
I'm trying to select subsets of data and bind them to programatically generated datagrids. The code I came up with seems like it should work, and it almost does....but not quite
When I do this:
Code:
TheDataGrid.DataSource = MyDataSet.Tables("MyTable").Select("MyItem='" & AnItem & "'")
TheDataGrid.DataBind()
I get this in my datagrid:
Code:
|----------------------|
| RowError | HasErrors |
|----------------------|
| | False |
| | False |
|----------------------|
The number of items in the datagrid will change depending on what I "select", so that part works, but how do I get the data and not an error count of sorts?
Thanks,
FD