Yorick85542165

Hi

Does any one have any tips or tutorials for creating a basic login system in C# for a windows application. I am finding it difficult to retrieve information to give me a starting point. Most of the information is for websites.

I am using C# express edition 2005.

Thanks.



Re: Visual C# General Creating basic login system.

Biche

You can look at this post : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=609069&SiteID=1

There are many way to create a login, the simplest way is to put two textbox in a dialog(the password textbox PasswordChar must be set) and two buttons, one login and the other one to quit.






Re: Visual C# General Creating basic login system.

Yorick85

Thanks that helped me get started.

I realise now I need to use a data base and create a query from the inputted text to find if the username and password are in the database. How would I go about placing the inputted text into the queries to the tables  

My ultimate aim is to create an account and track data of the application users. 

 





Re: Visual C# General Creating basic login system.

Biche

Yeah, the use of a database is more convenient, also think about encrypting user password in the db for more security than clear text.