For connection string try this link
http://www.connectionstrings.com/[/url]
for creating users please read BOL
http://msdn.microsoft.com/en-us/library/ms173463.aspx
Nag
------------------------------------------------
How to get the best help on a forum
http://www.sqlservercentral.com/articles/Best+Practices/61537