Click here to Skip to main content
15,895,192 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating a web application in mvc 4 for donation in visual studio 2012 that the users will be registor and donate or request for help, unfortunetley I am new for mvc4 and found some diffeculty to create to Login, Register, and Logout. I have created data base table for registartion in sql server express 2012. I want it when the user registor that will be saved directly to registaration table in that exsit in sql server.
registration databse table created in sql express 2012 contains the following fields.
Create Table Registration
(
RegID int IDENTITY(1,1) primary key,
FirstName varchar(50) NOT NULL,
LastName varchar(50) NOT NULL,
Username varchar(50) NOT NULL,
passeword varchar(50)NOT NULL,
Gender varchar(10),
Home_Address varchar(100),
Office_Address varchar(100),
City varchar(25),
State varchar(25),
Zip varchar(25),
Contact_No int ,
Email varchar(25)
);
please help me to Make Login, Register, and Logout in MVC 4 by using the above database table
Posted
Comments
[no name] 16-May-14 20:04pm    
No one is going to write this code for you.
karthik Udhayakumar 17-May-14 0:32am    
Suggest you to refer this and startup <br>
 <br>
http://www.codeproject.com/Articles/482546/Creating-a-custom-user-login-form-with-NET-Csharp<br>
 <br>
Write back if you are stuck up :)with the code
Member 10651775 17-May-14 7:41am    
thank you,karthy.
Member 10651775 22-May-14 17:27pm    
Karthy, I am stuck.
I have read the link you have given me, and I try to created for last 6 days, but still am stucked, I beginer for mvc that is the reason. the registartion table I have on my database table is, look like below. I want to have registartion, login form.

Create Table Registration
(
RegID int IDENTITY(1,1) primary key,
FirstName varchar(50) NOT NULL,
LastName varchar(50) NOT NULL,
Username varchar(50) NOT NULL,
passeword varchar(50)NOT NULL,
Gender varchar(10),
Home_Address varchar(100),
Office_Address varchar(100),
City varchar(25),
State varchar(25),
Zip varchar(25),
Contact_No int ,
Email varchar(25)
);
Can you help me, please!

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