Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
7
Answers
How to save value in session in mvc razor page
suman goud
8y
264
1
Reply
i want to save EmpID in session, my view code
<a href="#@i.EmpID,new{
[email protected]
}" onclick="">@i.Name</a>
<input type='hidden' name="id" formmethod="post" value="@Session["id"]
[email protected]
'" />
but EmpID is not saving in session , how to do this
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
c#, MVC 4 asp.Net, SQL
C# MVC SQL database