Sir/Ma'am
I was hoping one of you could assist me with iterating through a datagridview to find null values. Basically, I have a datagridview consisting of 14 fixed columns. If the user adds a new row and doesn't populate all 14 cells for that specific row, I would like to input the value of "00000" into the unpopulated cells. The code below will simply write the data in the cells to a txt file, which is fine until I need to import said data into my datagridview.
Iterating through a datagridview
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

theLizardRank #1,079 · 1.8K reputationPosted Mar 3, 2010, 12:30 PM EST
:)
theLizardRank #1,079 · 1.8K reputationPosted Mar 3, 2010, 2:16 PM EST
Cheers.
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 3, 2010, 8:38 PM EST
Please don't give solutions in private . This is discussion forum and open to every one. some other guys may have the same problem and if they found the solution here in the forum then it'll be good for forum and that user also.
Please keep the solutions open for every problem posted here.
Best Regards
Sam HobbsRank #107 · 20.5K reputationPosted Mar 4, 2010, 10:00 AM EST