1. string strapp = "当前记录,当前页,全部记录,";   
  2. string[] strtemp = strapp.Split(',');   
  3. foreach (string str in strtemp)   
  4. {   
  5.     for (int i = 0; i < cblJL.Items.Count; i++)   
  6.     {   
  7.         if (this.cblJL.Items[i].Value == str)   
  8.         {   
  9.             this.cblJL.Items[i].Selected = true;   
  10.         }   
  11.     }   
  12. }  
posted on 2009-06-18 17:14  情感星  阅读(703)  评论(0)    收藏  举报