protected void btnSearchbyPurcahseOr_Click1(object sender, EventArgs e) { propInventory obj = new propInventory(); //object initilization obj.Itemname = txtItem.Text; //purchase order no obj.quantity = Convert.ToInt32(txtQty.Text); //product name obj.desc = txtdays.Text; //date of order purchase obj.site = ddlSitename.SelectedItem.Text; //quantity selection int op = BusinessNewPurchase.busNewInventory(obj);//for checking the successful completion }
public void fillcustom() { propInventory prpcustom = new propInventory(); prpcustom.Itemname = txtcustom.Text; DataSet dsop = new DataSet(); dsop = BusinessSearch.businventorycustomsearch(prpcustom); PanResult.Visible = true; grdvViewResult.DataSource = dsop; grdvViewResult.DataBind(); }
public static DataSet inventoryCustomsearch(propInventory objinv) { return(DBManager.ExecuteDataset("spinventorysearch", objinv.Itemname)); }
public static int busNewInventory(propInventory objInv) { return(DalItemPurchase.InsertNewInventory(objInv)); }
public static DataSet businventorycustomsearch(propInventory objinvt) { return(DalSearching.inventoryCustomsearch(objinvt)); }
public static int InsertNewInventory(propInventory objInvent) { return(DBManager.ExecuteNonQuery("spInsertInventory", objInvent.Itemname, objInvent.quantity, objInvent.desc, objInvent.site)); }