protected void btnSave_Click(object sender, EventArgs e)
    {
        try
        {

            contingency wIns = new contingency();
            Int32 IntFlg = wIns.PopulateTerms(ddlGroup.SelectedItem.Value, txtdesc.Text.Trim());
            Response.Write("<script language='javascript'>parent.location.replace('master_terms.aspx');</script>");

        }
        catch (Exception exp)
        {
            Response.Write(exp.Message.ToString());
        }
    }