private void BindData() { List <SearchField> list1 = (List <SearchField>)ViewState["SearchCondition"]; U_ZCTimeBU zc1 = new U_ZCTimeBU(); TableRow row1 = new TableRow(); TableCell cell1 = new TableCell(); string[] arr1 = new string[] { "诉讼时效", "保证时效", "抵押时效", "执行时效" }; for (int i = 0; i < arr1.Length; i++) { DataSet ds1 = zc1.GetSXList1(list1, arr1[i]); if (ds1.Tables[0].Rows.Count > 0) { } } }