Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Update Error

Update Error

Scheduled Pinned Locked Moved Database
helptutorialannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    msomar
    wrote on last edited by
    #1

    When I click button Update this error is cccurred : Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'. my SqlDataSource is:

    the parameter :

    is a session parameter.

    I am waiting please guide me.

    L V 2 Replies Last reply
    0
    • M msomar

      When I click button Update this error is cccurred : Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'. my SqlDataSource is:

      the parameter :

      is a session parameter.

      I am waiting please guide me.

      L Offline
      L Offline
      loyal ginger
      wrote on last edited by
      #2

      When you click the Update button, some other command was executed. Since I don't see a statement containing "nvarchar" in the code you have posted, I believe you have hooked up the event handler to somewhere else. You can track down the problem using your debugging environment and pinpoint the problematic statement.

      1 Reply Last reply
      0
      • M msomar

        When I click button Update this error is cccurred : Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'. my SqlDataSource is:

        the parameter :

        is a session parameter.

        I am waiting please guide me.

        V Offline
        V Offline
        Vimalsoft Pty Ltd
        wrote on last edited by
        #3

        I don't use Wizards to do my database work. But this parameter isn't supposed to have a data type ?

        Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups