Esempio n. 1
0
        protected void ASPxGridViewAusentismos_CustomDataCallback(object sender, DevExpress.Web.ASPxGridViewCustomDataCallbackEventArgs e)
        {
            object ausentismoID = e.Parameters;
            string clave        = ausentismoID.ToString().Trim();

            CatalogoBusinessObject _CatalogosBAL = new CatalogoBusinessObject();
            DataTable dt = _CatalogosBAL.GetCatalogoAusentismos();

            DataRow[] rows = dt.Select(string.Format("CLAVE_AUSENTISMO = '{0}'", clave));
            if (rows != null && rows.Length > 0)
            {
                e.Result = new string[] { rows[0]["CLAVE_AUSENTISMO"].ToString(), rows[0]["descripcion"].ToString() }
            }
            ;
        }
Esempio n. 2
0
 protected void ASPxGridViewIncapacidades_CustomDataCallback(object sender, DevExpress.Web.ASPxGridViewCustomDataCallbackEventArgs e)
 {
 }