Pravin Ghadge

Pravin Ghadge

  • 569
  • 2.1k
  • 586k

How to insert null value in numeric column of Sql table using insert querry in C#.net(Window appl)

Jan 14 2011 2:57 AM

I want 2 insert null value in numeric column if it is blank
i have us foll code bt it is giving me err:
vDr[
"Drg_Days"] = (txtDrgDays.Text==""?null:txtDrgDays.Text);

Answers (3)