protected void saveMedicineQuantityInformationButton_OnClick(object sender, EventArgs e)
        {
            string name     = "";
            int    quantity = 0;


            foreach (GridViewRow row in medicineQuantityGridView.Rows)
            {
                System.Web.UI.WebControls.TextBox txtBox = (System.Web.UI.WebControls.TextBox)row.FindControl("TextBox");

                name     = row.Cells[0].Text;
                quantity = int.Parse(row.Cells[1].Text);

                medicineQuantity.Name = name;

                medicineQuantity.Quantity = quantity;

                medicineQuantity.CenterId = int.Parse(centerDropDownList.SelectedValue);


                if (medicineManager.MedicineName(name))
                {
                    centerManager.GetUpdateMedicineQuantity(medicineQuantity.Name, medicineQuantity.Quantity);
                    //   centerManager.InsertMedicineQunatity(medicineQuantity);
                }

                else
                {
                    centerManager.InsertMedicineQunatity(medicineQuantity);
                }


                medicineQuantityGridView.DataSource = null;
                medicineQuantityGridView.DataBind();
                Session.Clear();
            }
        }