aod.SetParameterValue("date1",TxtDate1.Text);
private void btnReport_Click(System.Object sender, System.EventArgs e) { ReportDocument rpt = new ReportDocument(); string directory = My.Application.Info.DirectoryPath; //rpt.Load(directory & "\myCrystalReport1.rpt") rpt.Load("C:\\DemoCrystalReport3\\DemoCrystalReport3\\myCrystalReport1.rpt"); rpt.SetParameterValue("CustomerID", this.txtCustomerID.Text); this.CrystalReportViewer1.ReportSource = rpt; this.CrystalReportViewer1.Refresh(); }
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง