对象模型SPFieldChoice
SPSite site = SPContext.Current.Site;
SPWeb web = site.OpenWeb(SubWebUrl);
SPList list = web.Lists[ListName];
SPFieldChoice fieldchoice = (SPFieldChoice)list.Fields["年份"];
for(int i=0;i<>
{
writer.write( fieldchoice.Choices[i].ToString());
}
?
XML描述
很简单的东西,写出来做个记录。
……