Nevermind, figured it out. I was cleverly forgetting to add
the new
row after I'd created it so it never got added to the
dataset. I need
more sleep I think!
On Aug 3, 12:53 pm, "m.wanstall"
<m.wanst... gmail.com> wrote:
> I'm loading a DataSet from an ArrayList and debugging
shows that the
> DataSet is being populated correctly, then all I want
to do is pass
> this DS through to a CrystalReport and (without using
the viewer)
> print the result.
>
> I'm using the following code:
>
> crBinLocLabel oRpt = new
crBinLocLabel();
> oRpt.SetDataSource(dsLocs);
> oRpt.PrintToPrinter(1, true, 0, 0);
>
> Not rocket science but for some reason it's only
printing a blank
> page...to test whether it was a printer problem I put
some static text
> onto the CrystalReport and it printed successfully
which infers that
> the DataSet isn't being loaded correctly.
>
> Any help would be greately appreciated!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://g
roups.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---
|