You can give connection string like this:-
Persist Security Info=True;
You can give server computer name as data source,
database name as initial catalog,
you can give user ID and password for connecting to the database.
hope you understood.