You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
using System.Web.UI;
|
|
|
|
|
using System.Web.UI.WebControls;
|
|
|
|
|
using TradeModel;
|
|
|
|
|
|
|
|
|
|
namespace TradeManage.PrintTemplate
|
|
|
|
|
{
|
|
|
|
|
public partial class WarePrint : System.Web.UI.Page
|
|
|
|
|
{
|
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
string[] wnarr = Request.QueryString["WareNo"].ToString().Trim(',').Split(',');
|
|
|
|
|
|
|
|
|
|
List<GoodWarePrint> gwplist = new List<GoodWarePrint>();
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < wnarr.Length; i++)
|
|
|
|
|
{
|
|
|
|
|
GoodWarePrint gwp = new GoodWarePrint();
|
|
|
|
|
|
|
|
|
|
gwp.WareNo = wnarr[i].ToString();
|
|
|
|
|
|
|
|
|
|
gwplist.Add(gwp);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CrystalReportSource1.ReportDocument.SetDataSource(gwplist);
|
|
|
|
|
|
|
|
|
|
CrystalReportSource1.DataBind();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|