PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
DataBinding DataGridView
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
DataBinding DataGridView
![]() |
DataBinding DataGridView |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi
I have a problem with databinding and the gridview. I have a details view on the form and a DataGridView both are bound to the same data. When i walk through the grid al is in sync correctly. So far so good. Next i implement some event to handle the validations and error messages on the data. Al is shown correct both the grid and the edit controls. Next i implement the event and set the cancel property to true. This works correctly i can't exit the edit control before i correct the error. However when i click in the grid validation isn't fired and the data is moved to a different row. Is there somewhere a sample of what to implement to prevent the grid from entering when i'm on a edit with a error data in it. This way i can get incorrect data into my database. Greetings Andre Mens -- ---------------------------------------------- Posted with NewsLeecher v3.0 Final * Binary Usenet Leeching Made Easy * http://www.newsleecher.com/?usenet ---------------------------------------------- |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

