private void btnGroupSelect_Click(object sender, EventArgs e) { Group group = new Group(); group.GroupName = txtGroupName.Text; dgvGroupList1.DataSource = groupBLL.selectbyGroupName(group); }