Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
Pass variable from controller to view
Benmakhlouf Saad
Jul 11 2016 8:21 AM
360
Reply
Hi,
I want to pass this varible "diff" from controller to view (Razor)
TimeSpan diff = vacationRttDemand.EndDate - vacationRttDemand.BeginDate;
and after passing , i want do display it ino label or labelfor
Thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
display TIFF document in WEBBROWSER
IIS suddenly stops serving http but https working