This commit is contained in:
@@ -6,8 +6,13 @@ using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Extensiones;
|
||||
public partial class General_CATIEPSxEntidadFed : ClsPaginas
|
||||
{
|
||||
{
|
||||
#region Propiedades
|
||||
private int RAgrupador
|
||||
{
|
||||
get { return (ViewState["RAgrupador"] == null) ? 1 : Convert.ToInt32(ViewState["RAgrupador"]); }
|
||||
set { ViewState["RAgrupador"] = value; }
|
||||
}
|
||||
private int RcveEstado
|
||||
{
|
||||
get { return (ViewState["RcveEstado"] == null) ? 0 : Convert.ToInt32(ViewState["RcveEstado"]); }
|
||||
@@ -58,11 +63,12 @@ public partial class General_CATIEPSxEntidadFed : ClsPaginas
|
||||
protected void CargaIEPSxEntidadFed()
|
||||
{
|
||||
ClsGenerales ObjIEPS = new ClsGenerales();
|
||||
ObjIEPS.IEPSxEntidadFed(RcveEstado, RtasaIEPS, RfechaInicio, RfechaFin, 119);
|
||||
ObjIEPS.IEPSxEntidadFed(RcveEstado, RtasaIEPS, RfechaInicio, RfechaFin, 119, RAgrupador);
|
||||
GVIEPSxEntidadFed.DataSource = ObjIEPS.DtResultados;
|
||||
ObjIEPS.Dispose();
|
||||
GVIEPSxEntidadFed.DataBind();
|
||||
upDatosIEPS.Update();
|
||||
|
||||
}
|
||||
|
||||
protected void GVIEPSxEntidadFed_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||
@@ -83,11 +89,12 @@ public partial class General_CATIEPSxEntidadFed : ClsPaginas
|
||||
protected void BtnIEPSFiltrar_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
RAgrupador = DdlAgrupador.SelectedValue.ToEntero();
|
||||
RcveEstado = DdlEstado.SelectedValue.ToEntero();
|
||||
RtasaIEPS = DdlIeps.SelectedValue.ToDecimal();
|
||||
RfechaInicio = TxtIEPSfechaInicio.Text.ToDate().ToString("yyyy/MM/dd") ;
|
||||
RfechaFin = TxtIEPSfechaFin.Text.ToDate().ToString("yyyy/MM/dd");
|
||||
|
||||
RfechaFin = TxtIEPSfechaFin.Text.ToDate().ToString("yyyy/MM/dd");
|
||||
|
||||
CargaIEPSxEntidadFed();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user