Dim a as integer
Dim sqlText as string
a = cint(Textbox1.text)
a+=1
sqlText = "Update Product SET ProQuantity = " & a.ToString() & "where ProID =' " & Request.QueryString("ProID") & " ' "
Code (C#)
int a = 0;
string sqlText = "";
a = (int)Textbox1.text;
a+=1;
sqlText = "Update Product SET ProQuantity = " & a.ToString() & "where ProID =' " & Request.QueryString("ProID") & " ' ";