0
我需要從list.My代碼檢索富文本框的值到現在爲止是這樣的..問題豐富的文本框的SharePoint
ArrayList arCategory=new ArrayList();
SPList myList = myWeb.Lists["PList"];
SPQuery myQuery = new SPQuery();
myQuery.Query = "<OrderBy><FieldRef Name='ProgramID' Ascending="False"/></OrderBy>;
SPListItemCollection myItemCol = myList.GetItems(myQuery);
foreach (SPListItem myItem in myItemCol)
{
string strCatTxt = (string)myItem["Category"];-->
//類是多富文本列
arCategory.Add(strCatTxt);
}
for (int j = 0; j < arCategory.Count; j++)
{
Label lblCategory = new Label();
lblCategory.Text=arCategory[j].Tostring(); ---->Getting exception
}
謝謝沒有想到ABT那個.. !!! – 2010-01-24 21:26:31