private void textBox13_TextChanged(object sender, EventArgs e)
        {
            string keyword = textItemSearch.Text;


            if (keyword == "")
            {
                textItemCode.Text    = "";
                textItemName.Text    = "";
                comboBoxUnit.Text    = "";
                textInventory.Text   = "0";
                textRate.Text        = "0";
                textDiscount.Text    = "0";
                textQuantity.Text    = "0";
                comboGstType.Text    = "";
                textGST.Text         = "0";
                textTotalAmount.Text = "";
                return;
            }

            ProductMasterBLL p = ProductMasterDAL.GetProductsForTransaction(keyword);

            textItemCode.Text  = p.Item_Code;
            textItemName.Text  = p.Product_Name;
            comboBoxUnit.Text  = p.Unit;
            textRate.Text      = p.Sales_Price.ToString();
            textInventory.Text = p.Quantity.ToString();
        }
        private void textItemSearch_TextChanged(object sender, EventArgs e)
        {
            string keyword = textItemSearch.Text;


            if (keyword == "")
            {
                textItemName.Text  = "";
                textInventory.Text = "0";
                textRate.Text      = "0";
                textQuantity.Text  = "0";
                return;
            }

            ProductMasterBLL p = ProductMasterDAL.GetProductsForTransaction(keyword);

            textItemName.Text  = p.Product_Name;
            comboBoxUnit.Text  = p.Unit;
            textInventory.Text = p.Quantity.ToString();
            textRate.Text      = p.Purchase_Price.ToString();
        }