protected void btnSave_Click(object sender, EventArgs e)
    {
        Hashtable vHashtable1 = new Hashtable();

        vHashtable1.Add("RPT_ID", TXTVALUE.Value);
        vHashtable1.Add("RPT_NAME", REPORT_TXT.Text);
        vHashtable1.Add("RPT_AGRP_ID", DDLAGE.SelectedValue);
        vHashtable1.Add("TYPE", "INS");
        if (DBManager.ExecInsUpsReturn(vHashtable1, "INS_REPORT_MASTER", (ATSession)Session["User"]))

        {
            if (Page.IsValid)
            {
                try
                {
                    Hashtable vHashtable = new Hashtable();
                    vHashtable.Add("RPTD_ID", TXTID.Value);
                    vHashtable.Add("RPTD_RPTID", TXTVALUE.Value);
                    vHashtable.Add("RPTD_REPREASON", Textarea1.InnerText);
                    vHashtable.Add("RPTD_EVAID", ATCommon.GetListControlValues(EVALUATION_DDL));
                    vHashtable.Add("RPTD_MED", Textarea2.InnerText);
                    vHashtable.Add("RPTD_PTMID", Textarea3.InnerText);
                    vHashtable.Add("RPTD_PTFHID", Textarea4.InnerText);
                    vHashtable.Add("RPTD_DOBSID", Textarea5.InnerText);
                    vHashtable.Add("RPTD_DST", Textarea11.InnerText);
                    vHashtable.Add("RPTD_AGRPID", DDLAGE.SelectedItem.Text);
                    vHashtable.Add("RPTD_RECOM", Textarea17.InnerText);
                    vHashtable.Add("TYPE", "INS");
                    DBManager.ExecInsUps(vHashtable, "INS_REPORT_DETAIL", (ATSession)Session["User"]);
                    Response.Redirect("Report_Template_List.aspx");
                }
                catch (Exception xe)
                {
                    ShowMsg(xe);
                }
            }
        }
    }