Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 22nd, 2004, 10:04 AM
Authorized User
 
Join Date: Dec 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to AyatKh
Default RecordCount in DataGrid and Excel

Hi,
My Users need to see some data in Excel.
1. I need to show my RecordCount in Datagrid.
2. I need to export the datagrid to Excel. how do I do these 2 steps?
3. If I don't want to show the data to the user, what is the easiest way to have some data from Dataview or datatable or....Export to excel?
for example I like to have the output of this sql in the excel in ASP.net : Select Name,address from Customer and I like to have the number of record as well at the end of the report.
Thanks for any help

 
Old March 22nd, 2004, 04:23 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

For the second point you could take a look at http://www.greggriffiths.org/webdev/both/excel/ which covers this.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help RecordCount jpaul Pro VB Databases 1 January 29th, 2008 01:46 PM
Recordset.recordcount = -1 Huss Classic ASP Databases 0 February 17th, 2007 04:41 AM
RecordCount dpkbahuguna Beginning VB 6 9 March 23rd, 2006 01:16 AM
recordcount attribute supported alyeng2000 SQL Server 2000 0 November 18th, 2003 12:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.