I am working in VB.NET and I am wondering about the difference between Nothing
and System.DBNull
.
When I fire save query at that time I am giving value from grid at runtime like as follow:
gvMain.Rows(j).Cells("Brand").Value.ToString()
But it shows me error when it has value of Nothing
and it works perfectlly when it has value of System.DBnull
.
What to do in this case?
Thanks in advance