Quantcast
Channel: update numeric field sql server gives 0 instead of "NULL" from gridview
Browsing index pages (2 articles)

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


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

Browsing index pages (2 articles)


Latest Images