Hi!
Thanks I will try that out!
Sarosh
>Sarosh,
>
>I see no one has answered your post all day. Unfortunately, I will not be much help, as I seldom use a grid and haven't had the requirements for row validation for the few times I played with it.
>
>But, all is not lost ... Google is your friend. You may have already done some Google searches, but I did one using "DataGridView row validation" and came up with some good hits.
>
>Try it if you haven't already.
>
>~~Bonnie
>
>
>
>
>>Hi!
>>
>>What is the equivalent of VFP's Grid.BeforeRowColChange/AfterRowColChange in the DataGridView or in the BindingSource control?
>>
>>Have a WinForm with a DataGridView in it. I want to make sure that when the user clicks/navigates to a different row (or adds a new row) that the current row is valid and if not then I need to cancel previous action (moving to a different row or adding a new row) and staying in the current row till it's valid.
>>
>>Should I be doing this in the DataGridView or it's Bindingsource control?
>>
>>Thanks
>>
>>Sarosh
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only