Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey
Whats up..

I wanna ask you guys a quick question:

I want to create a login function , which when I will register into a program , the ID - PW will be stored into a database / text and then , you can login into c#

I know how to create c# side only like

C#
if (textBox1.Text == " xxx ")
{

}


But , I want to create it to be more comfortable when you will use it after you'll register. Same as yahoo / skype / msn .. You register then you're accessible for the program


Anyone could explain how to do with a source code?
Posted
v2
Comments
[no name] 4-Mar-13 8:55am    
That makes no sense at all. What does PHP have to do with your question? What is the question anyway?
Phoenix1337 4-Mar-13 9:15am    
I want to create login based on register function .. as I've wrote
[no name] 4-Mar-13 9:21am    
No.... what you wrote is gibberish, just like your comment. What register function? You did not post any register function. In fact you did not not even post a question or describe any kind of a problem. "I want to" just tells us what you want to do, not what you have done or what problem you have.
Phoenix1337 4-Mar-13 9:38am    
I dont have a specific idea about creating this class methods , I mean ,Take a look
http://img547.imageshack.us/img547/8584/6e8b77c4ce464888936bb71.png
http://img854.imageshack.us/img854/47/1ea9ad83761f4a3d8dde1e9.png
I wanna to know , how can I create it in c#?
[no name] 4-Mar-13 9:43am    
Sorry, no. If you cannot be bothered to describe your specific problem that you are having with some code that you wrote, I am not going to bother to go look at some pictures that are only going to tell me that you have tried nothing.

1 solution

You'll want to think this through very carefully. If you're using ASP.NET or ASP.NET MVC, then membership functionality is built-in. Use that instead of writing a PHP login provider.

Or, are you writing a C# client in WPF or Windows Forms?
 
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