Purushottam Rathore
Error CS1009: Unrecognised escape sequence
By Purushottam Rathore in ASP.NET on Apr 09 2009
  • Dhananjay  Kumar
    Apr, 2009 9

    put @ berore connection string

    Happy Coding

    • 0
  • Purushottam Rathore
    Apr, 2009 9

    string strcon = "Data Source=PURU\\SQLSERVER2005; uid=sa; password=; Initial Catalog=Data";

    string strcon = @"Data Source=PURU\SQLSERVER2005; uid=sa; password=; Initial Catalog=Data";

    • 0
  • Purushottam Rathore
    Apr, 2009 9

    I get that error message when trying to compile a program which connects to a database. I think the error
    is with the following line:


    string strcon = "Data Source=PURU\SQLSERVER2005; uid=sa; password=; Initial Catalog=Data";

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS