using System.Linq; using System.Web; using System.Web.UI.WebControls; using Extensiones; using System.Data; using static Extensiones.ModExtensiones; using Microsoft.Reporting.WebForms; using System; using System.Threading; using Newtonsoft.Json.Linq; public partial class CGame_EstadoCuenta : ClsPaginas { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { CargaDatos(); } } private void CargaDatos() { ClsCGame ObjCGame = new ClsCGame(); if (ObjCGame.GetSaldo(UsuarioActual.CveEmpresa)) { GvSaldo.DataSource = ObjCGame.DtResultados; } ObjCGame.Dispose(); GvSaldo.DataBind(); UpSaldo.Update(); } protected void GvSaldo_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Cells[1].Text = e.Row.Cells[1].Text.FormatoNumero(); } } }