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
6
Answers
Pass variable from controller to view
Benmakhlouf Saad
8y
379
1
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
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
display TIFF document in WEBBROWSER
IIS suddenly stops serving http but https working