469,568 Members | 1,495 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,568 developers. It's quick & easy.

datagridview - modified rows

Hi @all,

ich have a datatable added to a dataset.
the dataset is binded to a datagridview.
How can i get all modified rows from the dataset ?

I have to check all the modified rows in a loop.

I hope somebody can help me.

by jo

Oct 17 '08 #1
2 7388
jogisarge wrote:
Hi @all,

ich have a datatable added to a dataset.
the dataset is binded to a datagridview.
How can i get all modified rows from the dataset ?

I have to check all the modified rows in a loop.

I hope somebody can help me.

by jo
If you handle the event, CellEndEdit, you can get the row index
(e.rowindex) of the cell and proceed from there.
Frank
Oct 17 '08 #2
jogisarge wrote:
Hi @all,

ich have a datatable added to a dataset.
the dataset is binded to a datagridview.
How can i get all modified rows from the dataset ?

I have to check all the modified rows in a loop.

I hope somebody can help me.

by jo

I believe you would use the IsCurrentCellDirty and IsCurrentRowDirty
properties of the DataGridView.

Eric B.

Oct 17 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by George | last post: by
3 posts views Thread by Prashwee | last post: by
reply views Thread by jeastman - Hotmail | last post: by
9 posts views Thread by Miro | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.