Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Search Forums > Search Results

Showing results 1 to 1 of 1
Search took 0 seconds.
Search: Posts Made By: prasanth100
Forum: ASP .Net 09-05-2010
Replies: 6
Views: 5,471
Posted By prasanth100
Thumbs up Re : parameterized sql...dbnull value?

Hi,
Try to use DbNull.Value near parameter.It might work

ex :
if(txtName.Text != " ")
{
@Name,SqlDbType.VarChar
}
else
{
Showing results 1 to 1 of 1

 
Forum Jump


Advertisments