private void subreport1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
subreport1.ReportSource.Parameters["MasterID"].Value = ((Sunshine_line.Module.BusinessObjects.SalesOrder)GetCurrentRow()).GetMemberValue("Oid");
}
private void subreport1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
subreport1.ReportSource.Parameters["MasterID"].Value = ((Sunshine_line.Module.BusinessObjects.SalesOrder)GetCurrentRow()).GetMemberValue("Oid");
}
转载于:https://www.cnblogs.com/lynnjeans/p/6193892.html