TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
aditya immadi
NA
215
21.9k
login age catch id through session
May 17 2016 4:48 AM
Hai all i wrote this lines for catching id in registration page
then i m getting this eror
int i = v.InsertUserRegistration(user.Name, user.Gender, user.Education, user.MobileNumber, user.EmailId, user.IsActive);
//storing data in session for nexpage
if (i != 0)
{
name = Session["Name"].ToString();---
object referene not set to instance of object
userid = (int)Session["Id"];
Email = Session["EmailId"].ToString();
}
TempData["notice"] = "Successfully registered";
return RedirectToAction("CreatePassword");
}
i need to pass the id to anothe page ... any help
TIA
Reply
Answers (
5
)
Data source is an invalid type. It must be either an IListS
asp.net master page