protected void ViewAdmin() { AdminBSO adminBSO = new AdminBSO(); DataTable table = adminBSO.GetAllAdminRoles(); DataView dataView = new DataView(table); //dataView.RowFilter = "Admin_Username <> 'administrator' and Admin_Username <> 'Administrator'"; dataView.RowFilter = "Admin_Username not in ('administrator','Administrator')"; dataView.Sort = "Admin_Username ASC"; DataTable dataTable = dataView.ToTable(); commonBSO commonBSO = new commonBSO(); commonBSO.FillToGridView(grvAdmin, dataTable); }