- string strapp = "当前记录,当前页,全部记录,";
- string[] strtemp = strapp.Split(',');
- foreach (string str in strtemp)
- {
- for (int i = 0; i < cblJL.Items.Count; i++)
- {
- if (this.cblJL.Items[i].Value == str)
- {
- this.cblJL.Items[i].Selected = true;
- }
- }
- }
转载于:https://www.cnblogs.com/sgwz850/articles/1506018.html