I'm build a custom aspx page to be deploy into layout folder in SharePoint 2007, where it consist of few checkbox list with RequiredFieldValidator,
the value of the checkbox list will be stored in a Custom List Choice Field.
below is my approach I bind the choices:
SPSite site = new SPSite(siteUrl);
SPWeb web = site.OpenWeb();
SPList list = web.Lists[listName];
SPFieldChoice choice = list.Fields.GetFieldByInternalName(fieldName) as SPFieldChoice;
is there a better way to implement this?
and how can I store the checkbox list selected value into the SPFieldChoice?
thank you in advance.
View Complete Post