I just attached my database from some other computer to my computer.everything worked fine except of this data source.It is giving an error “Unrecognizable escape sequence”.
I think the error is because of the back slash but I don’t know how can I resolve it because my computer’s server name is this only.Please help.
SqlConnection con = new SqlConnection("data source=APOORVA\SQLEXPRESS;initial catalog=mall inventory;integrated security=true");
Try this.