vrathaure
11-07-2006, 04:46 AM
This is the code from C# in .net
1. how are the below 2 codes different :-
i) string connectionString ="data source=myserver;user id=myusername;password=mypassword;";
ii) string connectionString = @"server = myserver;uid = myusername;password = mypassword;";
2. and plz explain me the meaning of "@" in the ii) part.
thanks and regards,
vr
1. how are the below 2 codes different :-
i) string connectionString ="data source=myserver;user id=myusername;password=mypassword;";
ii) string connectionString = @"server = myserver;uid = myusername;password = mypassword;";
2. and plz explain me the meaning of "@" in the ii) part.
thanks and regards,
vr