private void GuardarDetalleConfiguracion()
        {
            ClinitekItem oDetalle = new ClinitekItem();

            oDetalle.IdClinitek = txtOrden.Text.Trim();
            oDetalle.IdItem     = int.Parse(ddlItem.SelectedValue);
            oDetalle.Habilitado = true;
            oDetalle.Save();
        }
        protected void chkStatus_OnCheckedChanged(object sender, EventArgs e)
        {
            CheckBox    chkStatus = (CheckBox)sender;
            GridViewRow row       = (GridViewRow)chkStatus.NamingContainer;

            int i_id = int.Parse(gvLista.DataKeys[row.RowIndex].Value.ToString());

            ClinitekItem oRegistro = new ClinitekItem();

            oRegistro            = (ClinitekItem)oRegistro.Get(typeof(ClinitekItem), i_id);
            oRegistro.Habilitado = chkStatus.Checked;
            oRegistro.Save();
        }