Advertisement

05.17.2008 at 04:51PM PDT, ID: 23411251
[x]
Attachment Details

C# Linq Populated DataGridView Printing Challenge VS2008 3.5

Asked by ImInOrlando in Visual Studio 2008, C# Programming Language, Language Integrated Query - LINQ

Hello, I have researched this for awhile and cannot find a solution. I have a DataGridView control which is databound by retrieving back a LINQ IQueryable resultset by using the following code:

DataGridView Populating Code:
dgReportResults.DataSource = RunNoShowsReport(BeginDate, EndDate, PatientID);

Now while the results are displayed in my DataGridView control, I cannot see them in a Print Preview dialog window. I am attempting to use the BlaiseBraye Printing component and I am wondering if the DataGridView contents need to be stored in a different object like a DataSet instead of simply passing the name of the populated DataGridView control?

I will post all working code once this is resolved for others to learn from, thank you.Start Free Trial
[+][-]05.23.2008 at 05:05AM PDT, ID: 21631234

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 05:44PM PDT, ID: 21725337

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio 2008, C# Programming Language, Language Integrated Query - LINQ
Sign Up Now!
Solution Provided By: ImInOrlando
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628