//private Image ObtVistaMiniatura(Image image)
        //{
        //    Image.GetThumbnailImageAbort callback =  new Image.GetThumbnailImageAbort(ThumbnailCallback);
        //    Image pThumbnail = image.GetThumbnailImage(100, 100, callback, new IntPtr());
        //    return pThumbnail;
        //}

        public JsonResult ObtClientes()
        {
            JsonResult result = new JsonResult();
            claseDB    oDB    = new claseDB();

            oDB.Procedure = "mbrs_p_pag_clientes";
            result        = Json(oDB.ExecuteDataTablesPaging(Request), JsonRequestBehavior.AllowGet);
            oDB.Dispose();
            return(result);
        }
Пример #2
0
        public JsonResult ObtUsuarios()
        {
            JsonResult result = new JsonResult();
            claseDB    oDB    = new claseDB();

            oDB.Procedure = "usrs_t_pag_usuarios";

            result = Json(oDB.ExecuteDataTablesPaging(Request), JsonRequestBehavior.AllowGet);
            oDB.Dispose();
            return(result);
        }