asp.net with vb update sqldatabase

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanskar
    New Member
    • Mar 2013
    • 1

    asp.net with vb update sqldatabase

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

    Code:
    Dim cmd As New SqlCommand(SQL, con)
    con.Open()
    cmd.ExecuteNonQuery()
    con.Close()
    error in cmd.ExecuteNonQ uery()
    pls solve this,whats problem there?
    Last edited by Rabbit; Mar 6 '13, 04:28 PM. Reason: Please use code tags when posting code.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    We would need to know the exact error number and message in addition to the SQL that it is trying to run.

    Comment

    Working...