Commit inicial Ventas Productivo
This commit is contained in:
41
CGame/EstadoCuenta.aspx.cs
Normal file
41
CGame/EstadoCuenta.aspx.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user