private void btnVwClient_Click(object sender, EventArgs e) { SqlDataAdapter da = new SqlDataAdapter("select * from client where clientId='" + txtNoCli.Text + "'", con); DataSet ds = new DataSet(); da.Fill(ds, "client"); DataView dv = new DataView(ds.Tables["client"]); dataGridView2.Visible = true; dataGridView2.DataSource = dv; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)