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
munish kumar Kumar
NA
1
3.1k
How we insert session value into table
Mar 2 2012 2:07 PM
I want insert session value into table how it will we possible by this code
if (Session["EmailID"] != null)
{
String sid, sname;
sid = ddlSubjects.SelectedItem.Value;
sname = ddlSubjects.SelectedItem.Text;
Examination exam = new Examination(Session["EmailID"].ToString(), Int32.Parse(sid), sname); // Problem here
exam.GetQuestions();
Session.Add("questions", exam);
Response.Redirect("examination.aspx");
}
Reply
Answers (
2
)
Inner joining to list using Linq
For separating server-side code