Connection Strings And a log in form?

andycharger

Centurion
Joined
Apr 2, 2003
Messages
152
Hi guys,

A couple of questions in one post. Sorry about that......

1) Connection Strings.....
When im building a windows Application in dot net, I want to add a connectionstring into my app so that I do not have to keep making the connection everytime I call it. Like when you set a connectionstring in the global.asax file in web application. Firstly, is this possible and secondly can someone provide an example?

2) Log in form.

I have built one but is there a template type one somewhere. Basically, when i log in, I want to store the user_id somewhere so I can say Welcome user_id when I log in.

Any help is appreciated as always.

Andy
 
Back
Top