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
Guest User
Tech Writer
2.1k
470.6k
Does return view has more than for one select statement?
Apr 22 2021 3:30 AM
Hi Team
I have psuedo code, i want to have each forloop have its own return tye from the query on a table. Meaning i want to create each record on a return view if its allowed?
// Controller
public
ActionResult List() {
ProdMan db =
new
ProdMan();
return
View(from scheduleList
in
schedule.Take(5) select scheduleList,
from WeekList
in
Week.Take(3) select WeekList
}
Is
this
allowed
in
asp.net mvc
Reply
Answers (
2
)
Edit in razor pages. pagemodel and methods etc. by using ado, crud, RP
Dropdwonlist ith check box in mvc