VB.NET - regarding windows form and crystal report
Asked By sadhish babu muthusamy on 27-Jun-12 08:48 PM
i want export the vb window form to crystal report................................
in the window form contain textbox, label, checkbox,
i want all the control in the form should display in the crystal report....
Thanks in advance..
Jitendra Faye replied to sadhish babu muthusamy on 29-Jun-12 12:22 AM
You can not export Windows form to Crystal report but you can display control data in crystal report.
means after getting values from controls you can show these value to crystal report.
sadhish babu muthusamy replied to Jitendra Faye on 29-Jun-12 02:10 AM
Thanks for reply Vickey F.
ok..........then how i can do that.....
Jitendra Faye replied to sadhish babu muthusamy on 29-Jun-12 03:00 AM
Get all the values of controls and put in one DataTable,
after filling datatable with data assign it to crystal report .
DataTable dt = new DataTable();
DataRow r = dt.NewRow();
r = lbl.Text;
r = txt.Text;
//Now assign this dt to crystal report as datasource.
ReportDocument RptDoc = new ReportDocument();
CrystalReportViewer1.ReportSource = RptDoc;
Try this and let me know.
sadhish babu muthusamy replied to Jitendra Faye on 29-Jun-12 10:11 AM
hi Vickey F,
i convert the code which given earlier from C# to vb.net
but i receive error in some lines and how i can the dataset in crystal reportviewer......
Dim dt As New DataTable()
Dim r As DataRow = dt.NewRow()
r(0) = lbl.Text
r(1) = txt.Text
'Now assign this dt to crystal report as datasource.
Dim RptDoc As New ReportDocument()
RptDoc.Load(Server.MapPath("~/CrystalReport.rpt")) \\i receive error on the syntax Server
CrystalReportViewer1.ReportSource = RptDoc
CrystalReportViewer1.DataBind() \i receive error on the syntax .databind
how i can call the dataset in the crystal report under database field
inputs to crystal report C++ / VB
Can a crystal report can file that was take a orginal crystal report file as input into another crystal report? I then want the crystal report 11 to convert this file to word 2003, excel
he i wnna know how to show Crystal report without help of crystal report viewer ? I think its not possible to show Crystal report without help of crystal report viewer ok is it not possible to give a aplication
How can I use Strongly Typed report to load a crystal report into crystal report viwer http: / / support.businessobjects.com / library / kbase / articles / c2010371.asp keywords: VB.NET, Strongly Typed
hi, using vb6 + crystal report + oracle how to open crystal report using crystal report viewer First Open Components from the Projects Menu of VB6 Then select the Controls Tab
Which vesrion of Crystal Report supports Editable Rich Text Format. I think as per my best knowldge Crystal Report version XI (11) will supoort Editable Rich text format keywords: Visual Studio 2008, Version Crystal Report Version, Crystal Report, report, Format, rich text format description: Crystal Report Which vesrion of Crystal
Hi what is the code for printing page in Crystal report in ASP.Net 2.0 Anushree http: / / support.businessobjects.com / communityCS / TechnicalPapers / crnet_web_app_printing.pdf.asp keywords: C Printing page in crystal report report, Crystal report, Printing web description: Printing page in crystal report Hi what is the code for
Hi, I have problem to show Crystal Report. I have created Crystal Report Viewer and crystal Report and connection to database, Just I don't know how to load crystal Report from
any one help for trial key code for crystal report 2008. . . . . . . . . . . . . . . . . . . . . . . . keywords: Search Server 2008, Oracle, Oracle Database, report, crystal report description: crystal report any one help for trial key code for crystal report 2008. . . . . . . . . . . . . . . . . . . . . . . . 28-Oct-12
I'm trying to build a Crystal Report. I have defined a dataset, created a Crystal Report (MyCrystalReport.rpt) page and a page with a CrystalReportViewer. I'm trying to push data book tells me that strongly-typed reports are referenced by passing an instance of the report class to the ReportSource Property of the viewer, as so: CrystalReportViewer1.ReportSource = New Employee_List (where
hi experts, I have one crystal report contains sub report. When i run Crystal Report in local as well remote enviorment using crystal report tool, it works perfectly. But when I upload it on Crystal Report Repository server