日期:2014-05-17 浏览次数:20974 次
private void Form1_Load(object sender, EventArgs e)
{
DataSet1.WisTable3DataTable dt = new DataSet1.WisTable3DataTable();
new WisTable3TableAdapter().全镇出生查询(dt);
chushengyuebao yb = new chushengyuebao();
yb.SetDataSource((System.Data.DataTable)dt);
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CrystalDecisions.Shared;
using CrystalDecisions.CrystalReports.Engine;
using System.Data;
using Glacier.BOS.EDM;
using Glacier.BOS.BUL;
using GlacierV2.Common.Data;
using GlacierV2.Extensions;
using Glacier.BOS.WebClient.Common;
namespace Glacier.BOS.WebClient.Pages.Report
{
public partial class PrintReceipt : System.Web.UI.Page
{
ReportDocument rptDocument = new ReportDocument();
protected void Page_Load(object sender, EventArgs e)
{
PrintOrderPayment userReport = new PrintOrderPayment();
string ReportType = Request["ReportType"].ToString();
int OrderPaymentID = int.Parse(Request["OrderPaymentID"].ToString());
int OrderTypeID = GetOrderTypeID(ReportType);
List<OrderPayment> list = ReportSRV.GetOrderPaymentReportData(OrderTypeID, OrderPaymentID);
var list2 = list.Select(t =>
{
return new
{
t.OrderTypeID,
&n