protected void grdSupplierMarkets_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            Guid myRow_Id = Guid.Parse(e.CommandArgument.ToString());

            MDMSVC.DC_Message _msg = new MDMSVC.DC_Message();
            if (e.CommandName.ToString() == "Select")
            {
                dvMsg.Style.Add("display", "none");
                frmSupplierMarket.ChangeMode(FormViewMode.Edit);
                var result = _objMaster.GetSupplierMarket(new MDMSVC.DC_SupplierMarket()
                {
                    Supplier_Market_Id = myRow_Id
                });
                frmSupplierMarket.DataSource = result;
                frmSupplierMarket.DataBind();
            }
            else if (e.CommandName.ToString() == "SoftDelete")
            {
                _msg = _objMaster.SupplierMarketSoftDelete(new MDMSVC.DC_SupplierMarket()
                {
                    Supplier_Market_Id = myRow_Id,
                    IsActive           = false,
                    Edit_Date          = DateTime.Now,
                    Edit_User          = System.Web.HttpContext.Current.User.Identity.Name
                });
                if (Convert.ToInt32(_msg.StatusCode) == Convert.ToInt32(BootstrapAlertType.Success))
                {
                    frmSupplierMarket.ChangeMode(FormViewMode.Insert);
                    frmSupplierMarket.DataBind();
                    bindSUpplierMarketsGrid();
                    BootstrapAlert.BootstrapAlertMessage(dvMsg, "Supplier Market has been deleted successfully", BootstrapAlertType.Success);
                }
                else
                {
                    BootstrapAlert.BootstrapAlertMessage(dvMsg, _msg.StatusMessage, (BootstrapAlertType)_msg.StatusCode);
                }
            }

            else if (e.CommandName.ToString() == "UnDelete")
            {
                _msg = _objMaster.SupplierMarketSoftDelete(new MDMSVC.DC_SupplierMarket()
                {
                    Supplier_Market_Id = myRow_Id,
                    IsActive           = true,
                    Edit_Date          = DateTime.Now,
                    Edit_User          = System.Web.HttpContext.Current.User.Identity.Name
                });
                if (Convert.ToInt32(_msg.StatusCode) == Convert.ToInt32(BootstrapAlertType.Success))
                {
                    frmSupplierMarket.ChangeMode(FormViewMode.Insert);
                    frmSupplierMarket.DataBind();
                    bindSUpplierMarketsGrid();
                    BootstrapAlert.BootstrapAlertMessage(dvMsg, "Supplier Market has been retrived successfully", BootstrapAlertType.Success);
                }
                else
                {
                    BootstrapAlert.BootstrapAlertMessage(dvMsg, _msg.StatusMessage, (BootstrapAlertType)_msg.StatusCode);
                }
            }
        }