/// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void OnRowDeleting(object sender, ASPxDataDeletingEventArgs e)
        {
            int id = Convert.ToInt32(e.Keys[0]);
            string ModifiedBy = "testuserdel";
            objclsDemographicBAL = new clsDemographicBAL();
            DataSet objDS = new DataSet();

            objclsDemographicBAL.DeteteDemographicDetails_BAL(id, ModifiedBy, ref objDS);

            objclsDemographicBAL = new clsDemographicBAL();
            objclsDemographicBAL.getDemographicDetails_BAL(ref objDS);
            if (objDS.Tables.Count > 0)
            {
                gvDemographicData.DataSource = objDS.Tables[0];
                gvDemographicData.DataBind();
            }
            ApplyLayout(0);
            e.Cancel = true;
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            objclsDemographicBAL = new clsDemographicBAL();
            DataSet objDS = new DataSet();

            objclsDemographicBAL.getDemographicDetails_BAL(ref objDS);

            if (objDS.Tables.Count > 0)
            {
                gvDemographicData.DataSource = objDS.Tables[0];
                gvDemographicData.DataBind();
            }

            if (!Page.IsPostBack)
            {
                ApplyLayout(0);
            }
        }