troubleshooting Question

rowvalidated event c# datagridview

Avatar of jturkington
jturkington asked on
.NET ProgrammingMicrosoft Development
3 Comments1 Solution2171 ViewsLast Modified:
Hi folks,
Heres the problem i have a datagridview that i pre populate depending on a month that they select but i only populate one column and leave the other 2 blank for them to input numeric data. How should i do a check to make sure all cells have been filled in? Whats the best way to do this? I don't want to do an update or insert form values unless they have filled in the 2nd and 3rd column values.

e.g if they select february i populate a column called day from 1 to 28 and leave the other cell values blank
MonthDay                      NumberPeople                            NumberClass                                        
1
2
3
4
.
How can i force the input ? when the add button is clicked on the windows form?

Appreciate any help
Cheers
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros