Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / April 2007

Tip: Looking for answers? Try searching our database.

newbie: want to print tabular data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vbDavidC - 09 Apr 2007 21:40 GMT
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.
aaron.kempf@gmail.com - 10 Apr 2007 00:20 GMT
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 am fairly new to vb.net and even with VB6 I did not do a lot of
> printing.
[quoted text clipped - 15 lines]
> works.  But I like the grid lines that that control gives me.  For
> this app, the data is not bound.
vbDavidC - 10 Apr 2007 18:58 GMT
On Apr 9, 6:20 pm, "aaron.ke...@gmail.com" <aaron.ke...@gmail.com>
wrote:
> you should use a database
> and you should use a reporting tool
[quoted text clipped - 25 lines]
> > works.  But I like the grid lines that that control gives me.  For
> > this app, the data is not bound.

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.
pvdg42 - 10 Apr 2007 04:08 GMT
>I am fairly new to vb.net and even with VB6 I did not do a lot of
> printing.
[quoted text clipped - 15 lines]
> 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.
vbDavidC - 10 Apr 2007 19:03 GMT
> >I am fairly new to vb.net and even with VB6 I did not do a lot of
> > printing.
[quoted text clipped - 21 lines]
> 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.
aaron.kempf@gmail.com - 18 Apr 2007 01:03 GMT
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

> > "vbDavidC" <chapashop-ot...@yahoo.com> wrote in message
>
[quoted text clipped - 33 lines]
>
> - Show quoted text -
RobinS - 18 Apr 2007 07:38 GMT
>> >I am fairly new to vb.net and even with VB6 I did not do a lot of
>> > printing.
[quoted text clipped - 28 lines]
> 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.
aaron.kempf@gmail.com - 18 Apr 2007 18:05 GMT
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?

> >> "vbDavidC" <chapashop-ot...@yahoo.com> wrote in message
>
[quoted text clipped - 37 lines]
>
> - Show quoted text -

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.