Example #1
0
        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
        }
Example #2
0
        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();
        }
Example #3
0
 public static DataSet inventoryCustomsearch(propInventory objinv)
 {
     return(DBManager.ExecuteDataset("spinventorysearch", objinv.Itemname));
 }
Example #4
0
 public static int busNewInventory(propInventory objInv)
 {
     return(DalItemPurchase.InsertNewInventory(objInv));
 }
Example #5
0
 public static DataSet businventorycustomsearch(propInventory objinvt)
 {
     return(DalSearching.inventoryCustomsearch(objinvt));
 }
Example #6
0
 public static int InsertNewInventory(propInventory objInvent)
 {
     return(DBManager.ExecuteNonQuery("spInsertInventory", objInvent.Itemname, objInvent.quantity, objInvent.desc, objInvent.site));
 }