blah blah blah is here! blah blah » Close
how could i check through my datagrid and insert "-" automaticlly if the field is null?
for(int i = 0; i < myDatagridView.Rows.Count; i++){ foreach(DataGridViewCell c in myDatagridView.Rows[i].Cells) { if(c.Value == null) c.Value = "-"; }}
answered one year ago by:
Nice one foamy - thanks.
any time
Got feedack? Found a bug? report it here.
1 answers
Just typed this in here, so it might not compile, but it should give you an idea
answered one year ago by:
2499
690
Nice one foamy - thanks.
2499
any time