Connection strings that I want parmenent for sql authandication

Which string i can used for my problem,?
my problem is:
i crate a windows form application in vb.net. my back end is sql server 2005.( sql authandication)
using Which connection string i can easily run this application to another computer without any change in connection strings..?/
Can any one give me answer??

1 answer

Use OLEDB connection string and give ip address or the salserver compter name . it will work

http://csharp.net-informations.com/data-providers/csharp-oledb-connection.htm

from the above link you will get how to connect using OLEDB.

patter.