//protected void imgOthrAcnt_Click(object sender, ImageClickEventArgs e)
        //{
        //    ScriptManager.RegisterStartupScript(this, this.GetType(), "alertmsg", "ShowClient(16,1,'Other Account')", true);
        //    lblAcnt.Text = "Other Account";
        //}
        //protected void imgservtax_Click(object sender, ImageClickEventArgs e)
        //{
        //    ScriptManager.RegisterStartupScript(this, this.GetType(), "alertmsg", "ShowClient(10)", true);
        //    lblAcnt.Text = "Service Tax Account";
        //}
        //protected void imgSwachhBharat_Click(object sender, ImageClickEventArgs e)
        //{
        //    ScriptManager.RegisterStartupScript(this, this.GetType(), "alertmsg", "ShowClient(10)", true);
        //    lblAcnt.Text = "Swachh Bharat Account";
        //}
        //protected void imgbtnKrishiKalyan_Click(object sender, ImageClickEventArgs e)
        //{
        //    ScriptManager.RegisterStartupScript(this, this.GetType(), "alertmsg", "ShowClient(10)", true);
        //    lblAcnt.Text = "Krishi Kalyan Account";
        //}

        //protected void imgCmmn_Click(object sender, ImageClickEventArgs e)
        //{
        //    ScriptManager.RegisterStartupScript(this, this.GetType(), "alertmsg", "ShowClient(11)", true);
        //    lblAcnt.Text = "Commission Account";
        //}
        //protected void ImgDiesel_Click(object sender, ImageClickEventArgs e)
        //{
        //    ScriptManager.RegisterStartupScript(this, this.GetType(), "alertmsg", "ShowClient(11)", true);
        //    lblAcnt.Text = "Diesel Account";
        //}

        protected void imgBtnSave_Click(object sender, EventArgs e)
        {
            Int32       empIdno     = Convert.ToInt32((Session["UserIdno"] == null) ? "0" : Session["UserIdno"].ToString());
            AcntLinkDAL objAcntLink = new AcntLinkDAL();
            string      msg         = string.Empty;
            Int64       value       = 0;

            value = objAcntLink.InsertPurAccountHead(txtPurAcntHead.Text.Trim(), Convert.ToInt32(hidAcntLinkidno.Value), Convert.ToInt32(base.CompId), Convert.ToInt32(hidAcntType.Value), empIdno);
            if ((value > 0))
            {
                ShowMessage("Record saved successfully");
                txtPurAcntHead.Text = string.Empty;
                BindALLGenerals();
            }
            else if (value == -1)
            {
                ShowMessageErr("Record already exists!");
                ddlGroupType.Focus();
            }
            else
            {
                ShowMessageErr("Oops technical error occurs!");
                ddlGroupType.Focus();
            }
            //ScriptManager.RegisterStartupScript(this, this.GetType(), "alertmsg", "PassMessage('" + msg + "')", true);
        }