protected void Insert_Chkitems(object sender, EventArgs e)
        {
            GridViewRow gvr;

            for (int i = 0; i < grdchkitems_list.Rows.Count; i++)
            {
                gvr = grdchkitems_list.Rows[i];

                int applicchklistid = Convert.ToInt32(((HiddenField)gvr.FindControl("hfd_chkid")).Value);
                int chklistid       = Convert.ToInt32(((HiddenField)gvr.FindControl("hfdid1")).Value);
                int appid           = Convert.ToInt32(ddlpenapp.SelectedValue);
                // int insert_type = Convert.ToInt32(((HiddenField)gvr.FindControl("hfd_result")).Value);

                Utilities_Licensing.update_checkitems(applicchklistid, appid, chklistid.ToString(), rdb_check(gvr).ToString());
            }
            if (sender != null)
            {
                ScriptManager.RegisterStartupScript(Page, GetType(), "js", "aftersave()", true);
            }
        }