Good day everyone, please help me this problem.
color green represent other combo box and also color blue.
I want to filter the data in datagridview with different combo box.
fill free to message me in my gmail account jamei432294@gmail.com
Thank you so much.
Here my code in Room Type combobox.
con.Open();//filter
string query = "select * from CheckInRoom where RType = '" +cmbRtype.SelectedItem.ToString() +"'";
OleDbDataAdapter da = new OleDbDataAdapter(query, con);
OleDbCommandBuilder builder = new OleDbCommandBuilder(da);
var ds = new DataSet();
da.Fill(ds);
CheckIndataGridView1.DataSource = ds.Tables[0];
con.Close();