Pravin Ghadge

Pravin Ghadge

  • 531
  • 2.1k
  • 585.1k

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)