private void button1_Click(object sender, EventArgs e)
{
string m1;
m1=cbmanganh.SelectedValue.ToString();
myds1.DSPT.DefaultView.RowFilter = "MaNganh='"+ m1 +"'" and "Nam ='" +tbnamhoc.Text + "'" and "HocKy ='" + tbhocky.Text + "'"and "KhoaHoc= '" +tbkhoahoc.Text + "'";
dataGridView1.DataSource=myds1.DSPT.DefaultView;
}
error: expected ";" after each "and"
Thank you so much!