摘要: CrystalReportSource1.ReportDocument.Subreports["INV002.rpt"].SetDataSource(ds.Tables["dt21"]);CrystalReportSource1.ReportDocument.SetDataSource(ds.Tables["dt2"]);CrystalReportViewer1.ReportSource=CrystalReportSource1;CrystalReportSource1.DataBind(); 阅读全文
posted @ 2012-06-04 14:25 zyip 阅读(176) 评论(0) 推荐(0) 编辑
摘要: DimrptAsNewReportDocumentDimDirPathAsString=Application.StartupPath&"\"DimDataSet1AsDataSetDataSet1=NewXsd_InvoiceDataSet1.Tables("Students").Merge(Invoice.INVOICE_GetStudentInfo_One_(FamilyID))DataSet1.Tables("tblStudentPaymentInvoice").Merge(Invoice.INVOICE_GetStu 阅读全文
posted @ 2012-06-04 12:59 zyip 阅读(134) 评论(0) 推荐(0) 编辑
摘要: DataTabledt=newDataTable();dt.TableName="DataTable1";dt.Columns.Add("id");dt.Columns.Add("DESCRIPTION");dt.Columns.Add("QUANTITY");dt.Columns.Add("UNITPRICE");dt.Columns.Add("HandWorkPrice");DataTabledtOrder=newDataTable();dtOrder.TableName 阅读全文
posted @ 2012-06-04 11:31 zyip 阅读(239) 评论(0) 推荐(0) 编辑