Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
how to get the model values in controller
srujana thallam
Oct 20 2014 9:26 AM
567
Reply
My model class
public
class Hop
{
public
string Name
{
get; set;
}
}
public
class Home
{
public
IEnumerable<Hop>
selHopList
{
get; set;
}
}
my
controller
------------
[
HttpPost
]
public
ActionResult CreateHop
(
Home
hopValues
)
{
Ienumarable list=
hopValues.selHopList;
//like this i want get
return
View
(
);
}
In my controller
i
want to get these values how?
can
any one
help me
.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Spell Checker for Rich Textbox
Need Help...