dealing with single quote in databases in ASP.NET pages

  • Thread starter Thread starter SStory
  • Start date Start date
S

SStory

How do you guys deal with single quotes with ASP.NET and SQL Server.

I tried replacing all ' with two ' before inserting, but that shows up as
two single qutoes.

if I don't do that I get a runtime error related to this.

Just wanted some dialog on this issue. It has to be fairly common.

Thanks,

Shane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top