This commit is contained in:
@@ -21,7 +21,16 @@ public partial class RH_CalculoSBC : ClsPaginas
|
||||
//}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
ADSNetLibrary.SIGAPI.Services.Agropecuaria.IAgropecuariaService servicioAgro = new ADSNetLibrary.SIGAPI.Services.Agropecuaria.AgropecuariaService(System.Configuration.ConfigurationManager.ConnectionStrings["Conexion"].ConnectionString);
|
||||
ADSNetLibrary.SIGAPI.Models.Agropecuaria.Request.ActividadGET acmo = new ADSNetLibrary.SIGAPI.Models.Agropecuaria.Request.ActividadGET();
|
||||
acmo.cveEmpresa = UsuarioActual.CveEmpresa; acmo.cveActividad = -1;
|
||||
var obj = servicioAgro.ActividadesGet(acmo);
|
||||
GVDetalleParteVariable.DataSource = obj.Result;
|
||||
GVDetalleParteVariable.DataBind();
|
||||
}
|
||||
}
|
||||
|
||||
protected void LnkCalcular_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user