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 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

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