none
Escape Single Quotes

    Question

  • Hi,

     

    I want to pass a query to SQL Server 2005 through the table adapter query.

     

    Some of the variables with have single quotes e.g. He's

     

    I know with PHP/MySQL Addslashes() is used.

     

    What is the alternative for C#?

     

    Thanks.

    Tuesday, December 04, 2007 9:59 AM

All replies