Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

GridView : Need to achieve similar requirement of data validation present in Resources.resx

$
0
0

In Windows Forms Application, we have Resources.resx file.

Scenario 1)

When I do not enter any value in Name column then I get an error called "The resource name cannot be empty."

Scenario 2)

When I do enter already existing value in Name column then I get an error called "There is already another resource with name 'String1'."

I have similar requirement in my Forms application, I'm unable to figure out what events of DataGridView I need to use to achieve the above requirement such as Scenario 1 and Scenario 2.

Can you please guide?



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>