Problem with Special Charecters in ASP and SQL Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • priyam1309
    New Member
    • Feb 2010
    • 1

    Problem with Special Charecters in ASP and SQL Server

    I am currently using ASP and SQL Server 2000. The problem is when i try to insert data with special characters like - / , into DB through textboxes of ASP webpage, the data does not get inserted. whereas, when I insert the same data directly in DB through SQL queries, it gets successfully appended in the table.
    Please advice what is going wrong?
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    sorry for the long delay. How are you inserting the data? When I insert data, I like to use a recordset object, add a new record to the recordset, and assign the different fields independently, then update the table from the recordset. This method should have no problems.

    Jared

    Comment

    Working...