I have a windows form that contains a datagridview containing
manipulated data from various sources (numerous sql servers + xml
files). I now need to create a report from the data in the
datagridview.
Do I need to convert the datagridview into something else (dataset?)
or should I have put the data into a dataset in the first place.
Assuming I can create a 'Data Source' from my data, can you advise me
on how to launch a report from a windows form?
Any advice/suggestions gratefully received.
TP 4 4628
Peter Forman <xl****@gmail.c omwrote in news:152cfa44-ba8a-4277-bae6- 95**********@f4 7g2000hsd.googl egroups.com:
I have a windows form that contains a datagridview containing
manipulated data from various sources (numerous sql servers + xml
files). I now need to create a report from the data in the
datagridview.
DataGridView is a display only component, it does not inherently provide
reporting features.
Do I need to convert the datagridview into something else (dataset?)
or should I have put the data into a dataset in the first place.
Assuming I can create a 'Data Source' from my data, can you advise me
on how to launch a report from a windows form?
What sort of report do you require? Raw data? Formatted reports?
If you want formatted reports, you'll need to use a reporting tool such as
Crystal, Reporting Services, ActiveReports, etc.
-- sp**********@ro gers.com (Do not e-mail)
On Jan 10, 9:46 pm, Spam Catcher <spamhoney...@r ogers.comwrote:
Peter Forman <xla...@gmail.c omwrote in news:152cfa44-ba8a-4277-bae6-
95840efec...@f4 7g2000hsd.googl egroups.com:
I have a windows form that contains a datagridview containing
manipulated data from various sources (numerous sql servers + xml
files). I now need to create a report from the data in the
datagridview.
DataGridView is a display only component, it does not inherently provide
reporting features.
Do I need to convert the datagridview into something else (dataset?)
or should I have put the data into a dataset in the first place.
Assuming I can create a 'Data Source' from my data, can you advise me
on how to launch a report from a windows form?
What sort of report do you require? Raw data? Formatted reports?
If you want formatted reports, you'll need to use a reporting tool such as
Crystal, Reporting Services, ActiveReports, etc.
Thanks,
Yes, I do want to use a formatted report such as crystal - so how can
I get the data from a Datagridview into crystal?
That's where I'm stuck.
Peter Forman <xl****@gmail.c omwrote in news:bea99c63-0c7d-4b41-b855- 8b**********@t1 g2000pra.google groups.com:
Thanks,
Yes, I do want to use a formatted report such as crystal - so how can
I get the data from a Datagridview into crystal?
That's where I'm stuck.
What is your underlying datasource? What datasource are you manipulating?
You'll have to pass that datasource to Crystal - i.e. a SQL string, a
dataset, etc.
-- sp**********@ro gers.com (Do not e-mail)
On Thu, 10 Jan 2008 23:24:28 -0800 (PST), Peter Forman
<xl****@gmail.c omwrote:
>On Jan 10, 9:46 pm, Spam Catcher <spamhoney...@r ogers.comwrote:
>Peter Forman <xla...@gmail.c omwrote in news:152cfa44-ba8a-4277-bae6- 95840efec...@f 47g2000hsd.goog legroups.com:
I have a windows form that contains a datagridview containing
manipulated data from various sources (numerous sql servers + xml
files). I now need to create a report from the data in the
datagridview.
DataGridView is a display only component, it does not inherently provide reporting features.
Do I need to convert the datagridview into something else (dataset?)
or should I have put the data into a dataset in the first place.
Assuming I can create a 'Data Source' from my data, can you advise me
on how to launch a report from a windows form?
What sort of report do you require? Raw data? Formatted reports?
If you want formatted reports, you'll need to use a reporting tool such as Crystal, Reporting Services, ActiveReports, etc. Thanks, Yes, I do want to use a formatted report such as crystal - so how can I get the data from a Datagridview into crystal? That's where I'm stuck.
Unless the DataGridView is unbound, the data is stored in whatever the
grid is bound to - DataTable, BindingList, etc. It is that source
that you want to use as the source for printing. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: steve |
last post by:
Hi All
I would like to be able to change the cell borders on certain cells to none
at runtime to make a group of cells appear to be merged
I have tried the following in the cellformatting event..., to no avail
Any ideas
Regards
|
by: Daniel Manes |
last post by:
I need a strategy to debug this situation...
I can't put all the code involved, but here are some of the critical
lines with comments:
-------------------------
Private _parentDataCell As DataGridViewCell 'declare private field
_parentDataCell = _parentDataGrid.Rows(rowIndex).Cells(columnIndex)
'set to a specific cell
Debug.Print(_parentDataCell.DataGridView.ToString) 'prints:
|
by: DanThMan |
last post by:
The situation:
* I have a ButtonColumn in a DataGridView.
* When the user preses one of the buttons, a dialog appears.
* Based on what the user selects in the dialog, data is entered
programmatically into the the underlying cell (i.e., I'm setting Value
property of the cell based on user input, but the user is not directly
entering any data).
The problem:
|
by: Cheryl |
last post by:
Hi! I have a datagridview that create views for a dynamic dataset. Now I
would like to put the whole datagridview to a crystal report? Any ideas to
do this?
Thanks!
|
by: Screaming Eagles 101 |
last post by:
And if it's possible, how can I do this please ?
--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi
----------------------------------------------------------------
| |
by: harikap |
last post by:
hi ,
here im using vb.net 2005how can i add radiobuttons as column to windows datagridview control
plz help me....
|
by: =?Utf-8?B?U2hhcm9u?= |
last post by:
Hello Gurus,
I need to create a Microsoft Visual Studio 2005 report at runtime.
I wrote a C# window application, that holds a DataSet and several
DataGridView controls.
Each of the DataGridView controls show filtered data of the DataSet.
Using the Visual Studio 2005 designer, I have generated RDLC file with
report tables and a Form that holds this reports for display. and its all
|
by: gsgurdeep |
last post by:
Hello Friends
I want to fill crystal report with the data displayed in DataGridView.
Data of DataGridView is filled at run time. In my project DataGridView Is filled with some data based on joins performed on more than one one MSSQL tables.
I've used DataGridView.datasource to get the data of Grid. But it shows blank report not actual data.
Please Help me.
|
by: weirdguy |
last post by:
Hello,
I need advise on how to solve this scenario. I am not sure whether I should use any Report Application such as Crystal Report or I can just simply use datagridview.
My scenario:
In a new form, a table will show a least 3 columns.
First, ItemID
2nd, Total Quantity Sold for the Current Month
3rd, Total Quantity Sold: Last month
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |