473,474 Members | 1,781 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

pasting datagrid records into excel sheet-then print

TM
Is there any way that I can take the records from a datagrid and paste them
into an Excel sheet, then print preview or print the sheet ?

Is there any way I can sort the sheet before I print it ?

Thanks all

--
Tony


Nov 20 '05 #1
3 1207
Cor
Hi TM,

What you mean with:
paste them into an Excel sheet, then print preview or print the sheet ?


I am not sure about what you mean?

Cor
Nov 20 '05 #2
If you are asking if you can sort the spreadsheet after pasting has been
done and before you print, then of course the answer is yes, just to a
Data/Sort from the excel menu.

However, I dont suppose this is what you are asking though is it ?

Tell us more please.

OHM#

TM wrote:
Is there any way that I can take the records from a datagrid and
paste them into an Excel sheet, then print preview or print the sheet
?

Is there any way I can sort the sheet before I print it ?

Thanks all


Regards - OHM# On**********@BTInternet.com
Nov 20 '05 #3
TM
Sorry about the confusion. I should probably have posted this in two
messages.

Basically what I want to do is take the records from a datagrid and paste
them into an excel sheet. Then I want to print that sheet. If I could do a
print preview so they can see what it looks like before print, that would be
a bonus.

Also, if I could sort the sheet before printing, that would be outstanding
Thanks
--
Tony

"One Handed Man [ OHM# ]" <te***************************@BTOpenworld.com>
wrote in message news:Oa**************@TK2MSFTNGP12.phx.gbl...
If you are asking if you can sort the spreadsheet after pasting has been
done and before you print, then of course the answer is yes, just to a
Data/Sort from the excel menu.

However, I dont suppose this is what you are asking though is it ?

Tell us more please.

OHM#

TM wrote:
Is there any way that I can take the records from a datagrid and
paste them into an Excel sheet, then print preview or print the sheet
?

Is there any way I can sort the sheet before I print it ?

Thanks all


Regards - OHM# On**********@BTInternet.com

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: samik_tanik | last post by:
I need to export a datagrid to Excel. I could did this. But, also need to keep the leading zeros in the data. How can I acheive this? Any help would be appreciated. -- Thanking you in...
2
by: Jeremy | last post by:
I have a pretty straightforward database that is designed to record free-form information about products (date, source and a memo field). This is searched and updated via a form. For new records,...
0
by: Steve Chatham | last post by:
I am stuck on this. It ought to be a simple reason as to why this is problematic, in that it works on smaller groups of data (say under 40 records), but doesn't on larger groups of records (40+)....
7
by: vinay | last post by:
I have created a Master-Detail DataGrid The detail grid is embedded inside the Mastergrid with each row. Adding the detail grid in ItemDatabound event. I am exporting the Grid to a Excel....
1
by: http://www.visual-basic-data-mining.net/forum | last post by:
I have a web form in which I have a datagrid, I need to export this data to a Microsoft Excel sheet. I'm doing it thus: Response.Clear();
2
by: Bidarkota | last post by:
Hi, I have a DataGrid in which there are some images and Data are displayed and in the webform.asp page i am using some stylesheets. when i export the datagrid all the images are also exported...
0
by: sunilkumar Reddy via DotNetMonster.com | last post by:
hai all first we have taken binded grid Export to excel data from ultrawebgrid (or) datagrid rows, Each row data Expoting to one worksheet in excel workbook, like as grid row1 data contain...
4
by: Rich | last post by:
I fill a dataset like this: dim da As New SqlDataAdapter, ds As New Dataset, conn As New SqlConnection .... da.Fill(ds, "tbl1") datagrid1.DataSource = ds datagrid1.DataMember = "tbl1" When...
0
by: madhavit | last post by:
hi, i am able to export datagrid data to excel sheet but the problem is i am not able to export datagrid within datagrid data to excel. can anybody help me. thanx.
2
by: leena13 | last post by:
Hi, The number of rows in the datagrid on my page are approx. around 14130. When I click on the button that exports the records to excel sheet, the page goes blank (I observed that none of the...
0
marktang
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
1
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...
0
agi2029
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,...
0
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...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.