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
sonal malhotra
NA
410
51.7k
hi .. insert value( asp.netusers) to another tbl mvc c#
Dec 10 2018 4:20 AM
new page controlller page
public ActionResult Create()
{
List<SelectListItem> users = new List<SelectListItem>();
foreach (var user in context.Users)
{
users.Add(new SelectListItem { Text = user.UserName, Value = user.Id });
}
ViewBag.Users = users;
}
[ httppost]
public ActionResult Create()
???
}
hello i m new learning mvc identitiy (user individual athentication). how to set context.users (identity ) and how to insert value(context users ) to another new table
please
sharing is care
thanks sonal
Reply
Answers (
3
)
Use asp.net tagsinput not working.
How to Insert Pipeline in each Question of answer option