Consulting

Results 1 to 2 of 2

Thread: Solved: add cotation in database c# asp.net

  1. #1
    VBAX Contributor
    Joined
    May 2008
    Location
    bangalore
    Posts
    199
    Location

    Solved: add cotation in database c# asp.net

    i am adding some values to database like address it consists of single cotes

    ex "abc's 5'4"

    while adding to database i am removing single cotes by replace command ("'","") ..in database value will be stored as "abcs 54"

    so when retrieving the values i want to display single cote..."abc's 5'4"

    c# asp.net with mysql databse

    can some body help me regarding this

  2. #2
    VBAX Contributor
    Joined
    May 2008
    Location
    bangalore
    Posts
    199
    Location
    solved replace("'","''")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •