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
 
Back
Top