多选字段值的获得

    SPFieldMultiChoice chInjury = (SPFieldMultiChoice)m_listItem.Fields["Injury"];
           string valueInjury = chInjury.GetFieldValueAsText(m_listItem["Injury"]);
           lbInjury.Text = valueInjury.Replace(", ", "<br/>");
posted @ 2010-09-27 14:33  邑尘  阅读(227)  评论(0编辑  收藏  举报