datagridview - modified rows

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jogisarge

    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

  • Cmplx80

    #2
    Re: datagridview - modified rows

    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

    Comment

    • Eric B.

      #3
      Re: datagridview - modified rows

      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 IsCurrentCellDi rty and IsCurrentRowDir ty
      properties of the DataGridView.

      Eric B.

      Comment

      Working...