本文整理汇总了C#中WSGestion.WSGestion.REP_Detalle_Entrada_Inventario方法的典型用法代码示例。如果您正苦于以下问题:C# WSGestion.WSGestion.REP_Detalle_Entrada_Inventario方法的具体用法?C# WSGestion.WSGestion.REP_Detalle_Entrada_Inventario怎么用?C# WSGestion.WSGestion.REP_Detalle_Entrada_Inventario使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类WSGestion.WSGestion
的用法示例。
在下文中一共展示了WSGestion.WSGestion.REP_Detalle_Entrada_Inventario方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Page_Load
protected void Page_Load(object sender, EventArgs e)
{
if (Session["Centro_Seleccionado"] != null)
{
centro_seleccionado = Convert.ToInt32(Session["Centro_Seleccionado"]);
}
if (Session["Codigo_Select"] != null)
{
codigo_seleccionado = Convert.ToInt32(Session["Codigo_Select"]);
}
WSGestion.WSGestion wsgest = new WSGestion.WSGestion();
wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs");
if (!IsPostBack)
{
DataTable dt = wsgest.REP_Detalle_Entrada_Inventario(centro_seleccionado, centro_seleccionado);
ReportViewer1.ProcessingMode = ProcessingMode.Local;
LocalReport localReport = ReportViewer1.LocalReport;
localReport.ReportPath = "ReportesWebs/RPT_Entrada_Inventario.rdlc";
ReportDataSource ds = new ReportDataSource();
ds.Name = "DS_Reporte_Entrada_Inventario"; // nombre del asistente para informes
ds.Value = dt;
ReportViewer1.LocalReport.DataSources.Clear();
localReport.DataSources.Add(ds);
}
}
示例2: SetSubDataSource
public void SetSubDataSource(object sender, SubreportProcessingEventArgs e)
{
WSGestion.WSGestion wsgest = new WSGestion.WSGestion();
wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs");
DataTable dt = wsgest.REP_Detalle_Entrada_Inventario(codigo_seleccionado, centro_seleccionado);
ReportDataSource ds = new ReportDataSource();
ds.Name = "DS_RPT_DETALLE_ENTRADA_INVENTARIO";
ds.Value = dt;
e.DataSources.Add(ds);
}