Re: DataTable IndexOutOfRange
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Are you using binding to some dataview that does not have the same columns
(gridcolumnstyles) as the underlying table
/Owen
"Lee" <Lee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:68B88DBB-6A18-4DB3-B408-3CA8049EE041@xxxxxxxxxxxxxxxx
I am getting an IndexOutOfRange error when I do a Select on a data table.
The
column that I am referring to in the select statement is in the table so
I'm
not sure what the problem is. If I iterate through the datatable and
compare
the column values I will eventually locate the row(s) I am looking for, so
I
am not sure what the Index out of range istrying to tell me....?
.
Relevant Pages
- Re: Changes to DataSet not sticking
... the term "underlying table" means the datatable ... that the dataview was created from, not the actual table in the database. ... underlying DataTable until the EndEdit method of the DataRowView is ... Dim objAccessDB As New WDABase ... (microsoft.public.dotnet.framework.adonet) - Re: Changes to DataSet not sticking
... the term "underlying table" means the datatable ... that the dataview was created from, not the actual table in the database. ... underlying DataTable until the EndEdit method of the DataRowView is called. ... (microsoft.public.dotnet.framework.adonet) - Re: Changes to DataSet not sticking
... They inidate that you derive a dataview from a dataset. ... Then it indicates that the method that causes the data to be updated in the underlying dataview is "EndEdit", which I am calling, then it suggests using the AcceptChanges at the DataSet level. ... Note that a new row is not actually added to the underlying DataTable until the EndEdit method of the DataRowView is called. ... Dim objAccessDB As New WDABase ... (microsoft.public.dotnet.framework.adonet) - Re: Changes to DataSet not sticking
... seems to make it clear the the DataView is the most flexible object to ... updated in the underlying dataview is "EndEdit", which I am calling, ... the underlying DataTable until the EndEdit method of the DataRowView is ... Dim objAccessDB As New WDABase ... (microsoft.public.dotnet.framework.adonet) - Re: Cant update a DataTable after sorting and editing its dataview
... controls and the edit is finished, the value in the underlying table is ... If you've 'changed' the value in the dataview, ... I'd throw in the assertions liberally before and after any of my 'edits' so ... > I let the user sort by clicking on any column header. ... (microsoft.public.dotnet.framework.adonet) |
|