Wednesday, March 9, 2011

What is wrong with this Connection String ?

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;

No comments:

Post a Comment

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...