hi guys,
i have a list in sharepoint, contain some information, such as first name, last name, etc. so when user open the form, i want their information prepopulated to the form.
so right now, i tested the query function
SPList IsExist;
IsExist = SPContext.Current.Web.Lists["TTCVIP"];
SPQuery query = new SPQuery();
query.Query = @"
<Where>
<Eq>
<FieldRef Name='First_x0020_Name'/>
<Value Type='Text'>MOSS 2007</Value>
</Eq>
</Where>";
SPListItemCollection found = IsExist.GetItems(query);
//if yes
if (found.Count > 0)
{
// read from list and then copy them here
txtFir ...
Go to the complete details ...