protected void grid_RowDeleting(object sender, DevExpress.Web.Data.ASPxDataDeletingEventArgs e)
        {
            this.health = objHealth.GetHealthType(Int32.Parse(e.Keys[grid.KeyFieldName].ToString()));
            if (this.health != null)
            {
                this.objHealth.DeleteHealthType(health);
            }

            grid.CancelEdit();
            e.Cancel             = true;
            this.grid.DataSource = objHealth.GetHealthTypes();
            this.grid.DataBind();
        }
        protected void grid_RowUpdating(object sender, DevExpress.Web.Data.ASPxDataUpdatingEventArgs e)
        {
            ASPxTextBox text   = grid.FindEditFormTemplateControl("txtName") as ASPxTextBox;
            ASPxTextBox textId = grid.FindEditFormTemplateControl("txtId") as ASPxTextBox;

            this.health = objHealth.GetHealthType(Int32.Parse(textId.Text));

            if (this.health != null)
            {
                health.name     = text.Text;
                health.isactive = true;
                this.objHealth.UpdateHealthType(health);
            }

            grid.CancelEdit();
            e.Cancel             = true;
            this.grid.DataSource = objHealth.GetHealthTypes();
            this.grid.DataBind();
        }