/// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btnAddGroup_Click(object sender, EventArgs e)
        {
            //Get and Insert Data
            BD_SuppliesGroupData data = new BD_SuppliesGroupData();
            ITransaction tran = factory.GetInsertObject(data);
            data.GroupName = txtSuppliesGroup.Text.Trim();
            data.BuildingId = Func.ParseString(Session["__BUILDINGID__"]);
            data.SuppliesType = hidSuppliesType.Value;

            Execute(tran);

            if (!HasError)
            {
                OperationLogger.WriteInfo(Constants.LogOperationAlbumId, Constants.LogActionInsertId, addSuccess, Page.User.Identity.Name);
                mvMessage.SetCompleteMessage(addSuccess);
                DbHelper.FillList(drpSuppliesGroup, "Select * from BD_SuppliesGroup Where SuppliesType = '" + hidSuppliesType.Value + "' and BuildingId = '" + Func.ParseString(Session["__BUILDINGID__"]) + "'", "GroupName", "id");

                ShowData();
            }
            else
            {
                OperationLogger.WriteError(Constants.LogOperationAlbumId, Constants.LogActionInsertId, addUnSuccess, Page.User.Identity.Name);
                mvMessage.AddError(addUnSuccess);
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            //hidSuppliesType.Value = Func.ParseString(Request["SuppliesType"]);
            hidId.Value = Func.ParseString(Request["id"]);
            //switch (hidSuppliesType.Value)
            //{
            //    case "1":
            //        ltrPage.Text = "Quản lý hoạt động > Vật tư > Bảo trì";
            //        break;
            //    case "2":
            //        ltrPage.Text = "Quản lý hoạt động > Thiết bị > Bảo trì";
            //        break;
            //    case "3":
            //        ltrPage.Text = "Kế toán > Vật tư > Bảo trì";
            //        break;
            //    case "4":
            //        ltrPage.Text = "Kế toán > Thiết bị > Bảo trì";
            //        break;
            //    case "5":
            //        ltrPage.Text = "Kỹ thuật > Vật tư > Bảo trì";
            //        break;
            //    case "6":
            //        ltrPage.Text = "Kỹ thuật > Thiết bị > Bảo trì";
            //        break;
            //}
            //if (!IsPostBack)
            //{
            //    PopupWidth = 600;
            //    PopupHeight = 450;
            //    ShowData();

            BD_SuppliesGroupData data = new BD_SuppliesGroupData();
            ITransaction tran = factory.GetLoadObject(data, hidId.Value);
            Execute(tran);
            if (!HasError)
            {
                //Get Data
                data = (BD_SuppliesGroupData)tran.Result;
                txtGroupName.Text = data.GroupName;
                ShowData();
            }
        }