newbie: want to print tabular data


V

vbDavidC

I am fairly new to vb.net and even with VB6 I did not do a lot of
printing.

I have some tabular data that I have in a datagridview that I assumed
I could easily print the grid. However, in checking newsgroups and
the web it does not seem to be something that is very straightforward.

My original document that I am trying to duplicate (with VB.net) was
an excel spreadsheet that the owner of the spreadsheet built. It has
no formulas, the only reason he used Excel was for the row and column
(with grid lines) functionality.

I assumed once I populated my datagridview that it would be easy to
print this out. I also assumed that using this control would give me
some basic functionality in regards to printing tabular data.

I am not tied to using this datagridview, I can use anything that
works. But I like the grid lines that that control gives me. For
this app, the data is not bound.
 
Ad

Advertisements

A

aaron.kempf

you should use a database
and you should use a reporting tool

like Reportign Services for example
or crystal reports

or MS Access

Excel is for newbies!
 
P

pvdg42

vbDavidC said:
I am fairly new to vb.net and even with VB6 I did not do a lot of
printing.

I have some tabular data that I have in a datagridview that I assumed
I could easily print the grid. However, in checking newsgroups and
the web it does not seem to be something that is very straightforward.

My original document that I am trying to duplicate (with VB.net) was
an excel spreadsheet that the owner of the spreadsheet built. It has
no formulas, the only reason he used Excel was for the row and column
(with grid lines) functionality.

I assumed once I populated my datagridview that it would be easy to
print this out. I also assumed that using this control would give me
some basic functionality in regards to printing tabular data.

I am not tied to using this datagridview, I can use anything that
works. But I like the grid lines that that control gives me. For
this app, the data is not bound.
If you're using Visual Studio 2005, look into creating a report using either
SQL reporting or Crystal Reports. Either will produce neatly formatted
output without having to write the code needed to format printed output
manually. Both reporting tools are available in VS 2005 Professional
Edition, but only SQL Reporting is available in the Standard Edition.
 
V

vbDavidC

you should use a database
and you should use a reporting tool

like Reportign Services for example
or crystal reports

or MS Access

Excel is for newbies!

I used the example of Excel because that is what the document was
created in. I would like to create the report inside my current app.
I am using an Access database and could create some report in Access
which I know how to do but I thought VS would have some printing
functionality. I have VS.net which does not have Crystal Reports.

Also, I am trying to minimize the overhead (not overkill).

Everything on my datagridview is viewable on the form, I guess I could
try to print out the form, I tried that once but everything in it
including the form's borders and title bar showed up.
 
V

vbDavidC

If you're using Visual Studio 2005, look into creating a report using either
SQL reporting or Crystal Reports. Either will produce neatly formatted
output without having to write the code needed to format printed output
manually. Both reporting tools are available in VS 2005 Professional
Edition, but only SQL Reporting is available in the Standard Edition.

thanks for the info, I am using the standard edition. If I include
this SQL reporting you mention does that add (significantly) to my
application. The report I am talking about would not be done every
time, I have a large app (tabs for different functions), and one
feature is this report.
 
A

aaron.kempf

dude if SQL Server Reporting Services is 'too hard for the widdle cry-
baby programmer' then you should go and cry to mommy

or go back to using MS Access


;)


-Aaron
 
Ad

Advertisements

R

RobinS

vbDavidC said:
thanks for the info, I am using the standard edition. If I include
this SQL reporting you mention does that add (significantly) to my
application. The report I am talking about would not be done every
time, I have a large app (tabs for different functions), and one
feature is this report.

Ignore the aaron.kempf guy. He's trolling.
Robin S.
 
Ad

Advertisements

A

aaron.kempf

I'm not trolling

this programmer thinks that he can skate by without knowing reporting.
I mean seriously here.

Screw .NET and learn reporting, kid

90% of VB apps either pull information from a database or push it into
a database.
I mean seriously

are you retarded or something?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top