コード例 #1
0
        private void ListarServicios(int idTipoDocumentacion)
        {
            pnListadoInformes.Visible = true;
            pnCliente.Visible         = true;
            bool referencia = false;

            GestorPreciosApp gp = new GestorPreciosApp();

            dgridRemitoServicios.DataSource = gp.ListaDetallesRemitoParteEntrega(idTipoDocumentacion, nroRemito, referencia);
            dgridRemitoServicios.DataBind();


            dgridRemitoServicios2.DataSource = gp.ListaDetallesRemitoParteEntrega(idTipoDocumentacion, nroRemito, referencia);
            dgridRemitoServicios2.DataBind();

            lblTotal.Text  = "$ " + System.Math.Round(gp.precioTotalRemitoParteEntrega(idTipoDocumentacion, nroRemito), 2).ToString();
            lblTotal2.Text = "$ " + System.Math.Round(gp.precioTotalRemitoParteEntrega(idTipoDocumentacion, nroRemito), 2).ToString();
        }
コード例 #2
0
ファイル: VerRemitos.aspx.cs プロジェクト: carloshrs/tyg
        private void ListarServicios(int idTipoDocumentacion)
        {
            pnListadoInformes.Visible = true;
            pnCliente.Visible         = true;

            GestorPreciosApp gp = new GestorPreciosApp();

            dgridRemitoServicios.DataSource = gp.ListaDetallesRemitoParteEntrega(idTipoDocumentacion, nroRemito, false);
            dgridRemitoServicios.DataBind();
        }