http://www.codeproject.com/KB/database/sql_in_csharp.aspx
Example:
Provider=sqloledb;Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;
myServerAddressm would be the IP of the server.myDataBase would be the name of the database on the server.myUsername and myPassword would be the user account in the database server.
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Studio_.NET_2005/Q_23016900.html
Abonner på:
Legg inn kommentarer (Atom)
Ingen kommentarer:
Legg inn en kommentar