Talkin about dataview object. Recently I tried to edit some row like this
... dr(indexcolumn) (indexrow) = "... " .. it was applied to the dataset,
But it didn't update to the datasource when i call
DataAdapter.update(Dataset,"TableName") { this with assumtion that
commandbuilder had been generated }. And also a mistake when i tried to
delete row using dataview object. But it didn't show any error message when
i put the -update method- in try ... catch ... endtry ....
Felling frustated with dataview object .. i used datatable object to edit
and delete row. ... Did u guys have this kind of problems before ?
Martin
> Not tested, but how about something like this:
>
[quoted text clipped - 27 lines]
> >> > How do I sort a DataGrid Column in code without clicking on the column
> >> > header?
Frank - 26 Oct 2004 07:31 GMT
Yes I did. I added beginedit and endedit and the problems were gone. I
thought begin/endedit was optional but it looks like it is obliged.
Frank
> Talkin about dataview object. Recently I tried to edit some row like this
> ... dr(indexcolumn) (indexrow) = "... " .. it was applied to the dataset,
[quoted text clipped - 41 lines]
> column
> > >> > header?