private void BindDataList() { //调用控件 string type = ""; type = rblLimitsChoose.SelectedValue.ToString(); if (type != "") { UserManage1.Type = type; DataTable dt = (DataTable)Session["UserID"]; string SelectVal = ""; if (dt.Rows.Count > 0) { for (int i = 0; i < dt.Rows.Count; i++) { if (SelectVal == "") { SelectVal = dt.Rows[i]["UserID"].ToString(); } else { SelectVal += "," + dt.Rows[i]["UserID"].ToString(); } } } UserManage1.SelectVal = SelectVal; UserManage1.Show_GView_UserManage(); } }
private void BindDataList() { string type = ""; type = rblLimitsChoose.SelectedValue.ToString(); if (type != "") { UserManage1.Type = type; UserManage1.Show_GView_UserManage(); } }