locked
RowValidating and the origional values in a DGV row RRS feed

  • Question

  • Hi,

    Is it possible to estbalish the origional values in a dgv row when RowValidating is called? My DGV is bound to a DataTable via a BindingSource.

    Thanks,

    Barry
    Monday, October 6, 2008 9:34 AM

Answers

  • Hi Barry79,

    I am not sure I get you clearly. Did you mean you want to access the original values in a DataGridView Row in RowValidating event? If it is so, you can save the values of the current row before you edit it, and in the RowValidating event you can use the values.

    If I misunderstood you, please feel free to let me know.

    Best Regards,

    Bruce Zhou

     

    Windows Forms General FAQs
    Windows Forms Data Controls and Databinding FAQs

     

    Wednesday, October 8, 2008 6:35 AM