Files
SIG/CGame/EstadoCuenta.aspx.cs
JORGE LUIS CAUDILLO ESPARZA c35cf91883 Commit inicial Ventas Productivo
2019-08-14 16:40:54 -07:00

41 lines
993 B
C#

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();
}
}
}