Hi,
I have a quick question. I am displaying all the orders that are active. I
am making use of a datarepeater with checkboxes to display data and a submit
button to insert into the database.
suppose i want to make the orders inactive using the checkboxes and click on
the submit button should update the database.
How do I capture the event such that only those check boxes that have been
checked are updated and not others?
Thanks,
Stephen.
andrei - 03 Aug 2004 15:44 GMT
Hi Stephen,
I suppose you have the datarepeater connected to a dataset and the dataset
contains a table with a field called "Active" (which is represented by the
checkbox column)
Before saving you could select only the changed rows from the dataset with
Dim ds2 As DataSet
' GetChanges for modified rows only.
ds2 = ds1.GetChanges(DataRowState.Modified)
then, you can update your datasource with the ds2 dataset.
Andrei.
> Hi,
>
[quoted text clipped - 10 lines]
> Thanks,
> Stephen.