private void GetMachine()
{
SqlDataAdapter d = new SqlDataAdapter("select * from machine", con);
DataTable dt = new DataTable();
d.Fill(dt);
cmbMachineType.DataSource = dt;
cmbMachineType.DisplayMember = "machinetype";
}
{
SqlDataAdapter d = new SqlDataAdapter("select * from machine", con);
DataTable dt = new DataTable();
d.Fill(dt);
cmbMachineType.DataSource = dt;
cmbMachineType.DisplayMember = "machinetype";
}
No comments:
Post a Comment