since its a combo box , i presume you would only be assigning the items from one specific field of your retrieved table.
Check the row.IsMyFieldName_Null() == true
seems like abt 4 lines of code to me....(2 lines for each bracket)
cheers
My problem is, I have about 8 combo boxes on this form, and I would have to re-write a new sql insert statement for each possibility of nulls in the combo boxes. For example, if I have 3 combo boxes (box1, box2, box3), I would have these possibilities of insert statements:
insert into table (column1, column2, column3) values (box1, box2, box3)
insert into table (column1, column2) values (box1, box2)
insert into table (column1) values (box1)
insert into table (column2) values (box2)
insert into table (column3) values (box3)
insert into table (column2, column3) values (box2, box3)
insert into table (column1, column3) values (box1, box3)
With about 8 combo boxes, that adds up to a lot of insert statements. Is there any better way to do this?