By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,219 Members | 2,361 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,219 IT Pros & Developers. It's quick & easy.

asp.net with vb update sqldatabase

P: 1
namaste
i have error when i update query in asp.net with vb

Expand|Select|Wrap|Line Numbers
  1. Dim cmd As New SqlCommand(SQL, con)
  2. con.Open()
  3. cmd.ExecuteNonQuery()
  4. con.Close()
error in cmd.ExecuteNonQuery()
pls solve this,whats problem there?
Mar 6 '13 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,383
We would need to know the exact error number and message in addition to the SQL that it is trying to run.
Mar 6 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.