Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I am new to WPF creating a simple LogIn screen using WPF. I was just wondering that How can i create a database for my project so that when user eneters his name and password combination i find that entries from my database and if match occurs then login successful otherwise not.
So how can i create a database and access it.

Thanks,
Posted
Comments
prachi sahai 19-Jul-11 7:16am    
Please clarify if this is a business application or a general purpose application for your own use?
ubala 23-Jul-11 16:49pm    
thats for my own use...its just a test app that i am trying....

1 solution

Thje answer that was deleted, was a good one. You can use SQLite or SQL Server compact/embedded to put a DB in your app. If that's overkill, store the data as XML in the app data area. Of course, having a DB with usernames and passwords means you need to encrypt and protect it if you want to stop people hacking their way in, but that's another story and depends on the nature of your app.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900