-
GridView to Excel
Dear all
Any body know / have some function to convert GridView to Excel, please sharing to me, I need this function immediately.
TQ
-
Assuming the GridView is being populated from a database table, why not just dump the database records to excel and avoid the middle man?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
Thanks for you response
But ... my gridview populate from List.
-
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
List<DAL.Employee> lstEmployee = objEmplyee.List();
in objEmployee.List i have select several tables that I joint, in Gridview I used unbound data, so i just set on DataPropertyName. That I want export all data in gridview.
-
 Originally Posted by MGunawan
i have select several tables that I joint
So, you are using database tables, right?
Then just dump them directly to Excel.
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
 Originally Posted by Hack
So, you are using database tables, right?
Then just dump them directly to Excel.
Hack,
I'd appriciate if u share me the code sample for exporting gridview to excel.
Sonia
-
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
For ASP.NET there is no problem, my problem in winform application. this make me little confused, so i make function to Convert GridView to CSV file not to XLS. ... and everything ok.
Thanks for you help
-goen-
-
 Originally Posted by Hack
Thank you
Sonia
-
I used the solution given in http://aspalliance.com/771
but it makes the use do save as *.XLS
A better solution is the one in http://www.codeproject.com/KB/office...etToExcel.aspx
-
Similar Threads
-
By sathya_k_83 in forum .NET
Replies: 12
Last Post: 03-09-2010, 09:51 AM
-
By OwenDavies in forum VB Classic
Replies: 0
Last Post: 03-09-2006, 08:40 PM
-
By bjbenoit in forum .NET
Replies: 1
Last Post: 01-27-2006, 06:35 PM
-
By lew26 in forum Database
Replies: 8
Last Post: 01-23-2006, 03:27 PM
-
By Alexander Frolov [Afalina Co., Ltd.] in forum vb.announcements
Replies: 0
Last Post: 06-24-2002, 12:13 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks