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
Atif Rahim
NA
38
1.8k
On page load fill people picker field on form from database
Oct 23 2018 12:07 AM
Hi.
I have a form which I am populating from database for editing any value.
I have a people picker field which is used to select a user and when I save this form I am getting the email address and user name from people picker and saving in the database.
Now when I populate the form for editing any information I want to populate the user name which is stored in the database into people picker filed so if the user wants to change he can select new user or keep it as is.
I am not able to populate in the people picker field.
other text boxes I am able to populate like.
txtEmployeeName.Text = ds.Tables[0].Rows[0]["EmployeeName"].ToString();
txtEmployeePhone.Text = ds.Tables[0].Rows[0]["EmployeePhone"].ToString();
Any help shall be higly appreciated.
Reply
Answers (
0
)
SP2016 migrated sub site is not browseable.
Best way to migrate out of box SharePoint 2010 to SP2016 sit