// Lấy thông tin theo tiêu chí tìm kiếm nhat định private void LoadGridSearch() { int IsSelectAll = 0; int KeyID = 0; if (txtCritId.Text.Trim().Length > 0) { KeyID = int.Parse(txtCritId.Text.Trim()); } string NameNewsEL = CommonClass.StringValidator.GetSafeString(txtCritNameEL.Text.Trim()); string NameNewsVN = CommonClass.StringValidator.GetSafeString(txtCridNameVN.Text.Trim()); DB.DB_Object.ClassPrograms objClassData = new DB.DB_Object.ClassPrograms(); DataTable dt = objClassData.getDataSearchPrograms(IsSelectAll, KeyID, NameNewsEL, NameNewsVN); lblTotalRows.Text = dt.Rows.Count.ToString(); _grid.DataSource = dt; _grid.DataBind(); }