Thursday, September 25, 2008

Insert Blank Value in Access Database sample c#

Date
if
(txtpayDate.Text.Length == 0){cmd.Parameters["@ENTDATE"].Value = DBNull.Value;}
text

if

(txtCaseNO.Text.Length == 0){cmd.Parameters["@CASEID"].Value = DBNull.Value;}

No comments: