i was wondering if there is a way to prepopulate sharepoint list item values into a webform fields if the loggin user's information is matched with the information in the list item.
what i have done is that i made a query function to determine if info is matched, and then i try to pull some infomation out from list item. this method works fine for printing these values to some labels on the form, however, it
is not working for prepopulation, which happens in the page_load function.
here is my query code:
- SPList IsExist;
- IsExist = SPContext.Current.Web.Lists["TTCVIP"];
- SPQuery query = new SPQuery();
- query.Query = buildQuery();//search for first name = loggin name
View Complete Post