-
Feb 8th, 2012, 02:44 AM
#1
Thread Starter
New Member
how to create report without connection with database?
Hi
how can i generate report without using database? becouse i work on a project and i want to print the report from some data entered by the user and from some calculation do by the program,so there is any way to print report with vs 2008 without using database??
Thankyou
-
Feb 8th, 2012, 12:49 PM
#2
Re: how to create report without connection with database?
Yes,
You need to provide more information.
What programming language?
What reporting tool do you want to use?
Will the data be in textboxes, grids, labels?
-
Feb 9th, 2012, 02:00 AM
#3
Thread Starter
New Member
Re: how to create report without connection with database?
Originally Posted by wes4dbt
Yes,
You need to provide more information.
What programming language?
i use visual basic programming language
What reporting tool do you want to use?
from my search i know that i can use crystal report or report wizard but i don't know use which and how??
Will the data be in textboxes, grids, labels?
the data in the report will be take from radiobutton selected by the user,combobox and according that the program will do some calculation and the result will show in report. i want show data as tabular view
thank you very much
Last edited by cs student; Feb 9th, 2012 at 02:56 AM.
-
Feb 9th, 2012, 02:44 PM
#4
Re: how to create report without connection with database?
i use visual basic programming language
Which one? VB6, .Net 2010? There are lots of visual basics.
If your using .Net 2005 and crystal reports, then you would add a report to the project and then add the textboxes to the report. You could enter the information into the textboxes like this,
Code:
Dim rpt as new yourreportname
Dim objText As CrystalDecisions.CrystalReports.Engine.TextObject = _
rpt.ReportDefinition.Sections(3).ReportObjects("textboxname")
objText.Text = "some value"
-
Feb 10th, 2012, 07:28 AM
#5
Thread Starter
New Member
Re: how to create report without connection with database?
Originally Posted by wes4dbt
Which one? VB6, .Net 2010? There are lots of visual basics.
If your using .Net 2005 and crystal reports, then you would add a report to the project and then add the textboxes to the report. You could enter the information into the textboxes like this,
Code:
Dim rpt as new yourreportname
Dim objText As CrystalDecisions.CrystalReports.Engine.TextObject = _
rpt.ReportDefinition.Sections(3).ReportObjects("textboxname")
objText.Text = "some value"
i use visual basic 2008
can i use the datagrideview tool to represent my data?
-
Feb 10th, 2012, 01:05 PM
#6
Re: how to create report without connection with database?
The code example I posted should work with the CR version that comes with .Net 2008.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|