Online Home
new SqlParameter("MedicalCertificateDate",txtDOIMC.Text == String.Empty?Convert.DBNull:txtDOIMC.Text),
reference:- https://stackoverflow.com/questions/18963178/sending-null-parameters-to-sql-server
No comments:
Post a Comment