Commit inicial Ventas Productivo

This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2019-08-14 16:40:54 -07:00
commit c35cf91883
13328 changed files with 3711549 additions and 0 deletions

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