I am not sure if this is the right place to post this problem.
Briefly I have a custom Sqlconnection string in my infopath 2010 form which is:
con = new
ID=xxxx;Password=xxxxxxx;Persist Security Info=false;Trusted_Connection=false");
Trusted_Connection=false indicates that it uses user ID and Password from the string to connect to the MS SQL database.
View Complete Post