Data Type conversion error.....

S

Smith John

Here is my ASP.Net code

"If CustomerCMD.Parameters("@Checkout").Value = 0 Then"

Since I set the option strict on.... It is throwing type missmatch error.
@Checkout is a "tinyinteger" in SQL Server.
Please advice.
Thanks,
Smith
 
G

Guest

Hi Smith

Change your code t
"If CType( CustomerCMD.Parameters("@Checkout").Value, Integer) = 0 Then

thank
Nithin P V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top