单选:

          

 SPFieldChoice s = list.Fields["案例所属"as SPFieldChoice;
            
foreach (string c in s.Choices)
            {
                ddlTo.Items.Add(c);  
//用于下拉菜单
            }

   

 

 

多选:

         
         

Code

 

 

posted on 2009-05-21 17:48  寂寞的DBOY  阅读(197)  评论(6)    收藏  举报