I used this connection to run my SQL query, but it did not work and sent this error:
Keyword not supported: 'dsn'
This is my connection:
public static string CnnStr = @"Dsn=Server;uid=kity;app=Microsoft® Visual Studio® 2010;wsid=kity;database=Server;trusted_connection=Yes";
This connection works for me in my datalist, but for my behind code it gives me this error. II should say that I used ODBC connection to database.