I want to insert datetime values into msaccess using asp.net by vb.. Am getting error that Syntax Error in INSERT INTO statement...
My query is
strSQL="insert into group0 (name,addressli ne1,addressline 2,landmark,city ,state,pincode, telephone1,tele phone2,altconta ctno,businessca tegory,product, category,date) values('" & txtname.text & "','" & txtadds1.text & "','" & txtadds2.text & "','" & txtland.text & "', '" & txtcity.text & "', '" & txtstate.text & "' , '" & txtpin.text & "','" & txttel1.text & "','" & txttel2.text & "','" & txtmob.text & "','" & txtbus.text & "','" & txtpro.text & "','" & txtcat.text & "','" & now & "')"
please help me... send to my email id
My query is
strSQL="insert into group0 (name,addressli ne1,addressline 2,landmark,city ,state,pincode, telephone1,tele phone2,altconta ctno,businessca tegory,product, category,date) values('" & txtname.text & "','" & txtadds1.text & "','" & txtadds2.text & "','" & txtland.text & "', '" & txtcity.text & "', '" & txtstate.text & "' , '" & txtpin.text & "','" & txttel1.text & "','" & txttel2.text & "','" & txtmob.text & "','" & txtbus.text & "','" & txtpro.text & "','" & txtcat.text & "','" & now & "')"
please help me... send to my email id
Comment