private void autogeneratebillmasterid() { Autogenerateclass a1 = new Autogenerateclass(); int i = a1.autogenerateid("billmaster"); bmid = bmid + i; }
private void autogenerateitemtypeno() { Autogenerateclass a1 = new Autogenerateclass(); int i = a1.autogenerateid("itemmaster"); itemtyno = itemtyno + i; txttypeno.Text = itemtyno; }
private void autogenerateitemno() { Autogenerateclass a1 = new Autogenerateclass(); int i = a1.autogenerateid("items"); ino = ino + i; txtitemno.Text = ino; }
private void autogenerateempno() { Autogenerateclass a1 = new Autogenerateclass(); int i = a1.autogenerateid("employee"); eno = eno + i; txteno.Text = eno; }
private void autogeneratebillid() { Autogenerateclass a1 = new Autogenerateclass(); int i = a1.autogenerateid("billtransaction"); billid = billid + i; txtbillid.Text = billid; }
private void autogeneratestockid() { Autogenerateclass a1 = new Autogenerateclass(); int i = a1.autogenerateid("stocktransaction"); sid = sid + i; txtstockid.Text = sid; }
private void additemstype() { Autogenerateclass a1 = new Autogenerateclass(); DataSet ds = a1.binditemtypes(); cbitemtype.DataSource = ds.Tables[0]; cbitemtype.DisplayMember = "itype"; cbitemtype.ValueMember = "ityno"; }
private void cbitemtype_SelectedIndexChanged(object sender, EventArgs e) { Autogenerateclass a1 = new Autogenerateclass(); DataSet ds = a1.binditemnames(cbitemtype.SelectedValue.ToString()); cbitemname.DataSource = ds.Tables[0]; cbitemname.DisplayMember = "iname"; cbitemname.ValueMember = "ino"; }