troubleshooting Question

Set datagridview cell mandatory.

Avatar of fylix0000
fylix0000 asked on
C#
2 Comments1 Solution935 ViewsLast Modified:
Hi everyone,

I tried to Google the web for quite sometime now but I can't seem to find the solution to the problem I am facing.

I have a typical datagridview, not the web one where I have 5 rows to begin with, any any given time if any column is populated or filled out with a value, the rest of the cells in that row become mandatory fields.  Opposite to text box where you can set the MandatoryField, I can't find a way to set the currentcell or the datagridview[column,cell] or find any of their related attributes to set that specific cell to mandatory.

From reading what I described so far you can see this attribute has to be dynamic, that is if the user decide to blank out all values within a row then all the cell in that row will change from mandatory back to non mandatory.

Any tips or resources on this are greatly appreciated.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
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 2 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