Quantcast
Channel: update numeric field sql server gives 0 instead of "NULL" from gridview
Browsing all 2 articles
Browse latest View live

Re: update numeric field sql server gives 0 instead of "NULL" from gridview

hi,before parameter get the value . we give a default value 0 .such as :string strValueF=row.Cells(0).Controls.OfType(Of TextBox)().FirstOrDefault().Text...

View Article


update numeric field sql server gives 0 instead of "NULL" from gridview

Hi,i have a gridview wich updates all rows in the grid, but the sql server database column is of a numeric type. the empty gridview cells get updated with the value "0" in the database instead of NULL....

View Article

Browsing all 2 articles
Browse latest View live


Latest Images