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
Gopal Singh
NA
5
653
Problem with tempdata
Jun 30 2016 9:55 AM
Hi
I just want to use tempdata value from a custom method but unable to do.
please help me.
here i am assigning value
public void abc(){
TempData["PhoneVarificationMissing"] = "Yes";
}
Here I want to access
public ActionResult kkk()
{
aaa obj=new aaa()
obj.abc();
var a=TempData["PhoneVarificationMissing"];
}
Here I am getting null value
Reply
Answers (
6
)
i m not able to bind the gridview on ddl's selected index
how store the exceptions in to database in c#