public void LoadForm() { frm.dataGridView1.DataSource = ct.GetDataTableCT(); }
public void loadCombobox() { frm.cbType.DataSource = custype.GetDataTableCT(); frm.cbType.ValueMember = "Customer type ID"; frm.cbType.DisplayMember = "Customer name"; }