QUESTION : What's wrong with this connection string ?
string
userid=gps;password=1234#";
ANSWER : You will get the following error :
"Keyword not supported:'userid'"
The correct connstr should be:
string connstr = "Data Source=IBM\\SFT;Initial Catalog=GPS_Live;User ID=gps;
uid=gps;password=gPs123!@#";
connstr = "Data Source=IBM\\SFT;Initial Catalog=GPS_Live;
string
userid=gps;password=1234#";
ANSWER : You will get the following error :
"Keyword not supported:'userid'"
The correct connstr should be:
string connstr = "Data Source=IBM\\SFT;Initial Catalog=GPS_Live;User ID=gps;
uid=gps;password=gPs123!@#";
connstr = "Data Source=IBM\\SFT;Initial Catalog=GPS_Live;
No comments:
Post a Comment