Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Database and Reporting > Porting VB .NET reports with Microsoft.Office.Interop.Excel objects to ASP.net


Reply
 
Thread Tools Display Modes
  #1  
Old 08-14-2008, 12:31 PM
7h0m's Avatar
7h0m 7h0m is offline
Regular
 
Join Date: Feb 2008
Posts: 64
Question Porting VB .NET reports with Microsoft.Office.Interop.Excel objects to ASP.net


Hi!

I have a multitude of VB .NET programs that generate reports in Excel that I populate from an SQL Database locally. My boss wants me to port all these to ASP.net so that users could then access these reports with dynamicly generated results on a browser page.

Before jumping onto imbeding Excel objects using ASP.NET from the code I have in VB .NET I was wondering on what kind of approach to use. What could be the most effective way to convert/display these reports in real time to the user via a Browser?

Hail to the helpers.

7h0m
__________________
Nasa predicts Pole Shift in 2012. Google it.
Reply With Quote
  #2  
Old 08-14-2008, 01:48 PM
wayneph's Avatar
wayneph wayneph is offline
Web Junkie

Retired Moderator
* Expert *
 
Join Date: Apr 2004
Location: D/FW, Texas, USA
Posts: 8,393
Default

If you are using SQL Server, I would personally ditch ASP.NET and create all of the reports using Reporting Services. (That's assuming there is little additional logic needed in the application.)

Personally, I never automate Office apps from a web server. The 2 times I've tried (admittedly back in '02 or '03) I ended up with threads running over each other because Office is intended to be a single user desktop application. I hear the newer versions of Office have some features that address these issues, but I haven't tested them. (And I don't have Office 2007 at work yet. )

If the user needs to manipulate the Excel File, then there really isn't a good web solution. A spreadsheet is a pretty powerful application that hasn't found a good implementation in a browser. (I think Google has one that I haven't played with...) If you're just displaying data the GridView control has the most powerful out-of-the box power for sorting, paging, etc.... You can also look at some of the powerful 3rd Party (not free) Ajax enabled controls to spice up the GUI that much more.
__________________
-- wayne, MSSM Retired
> SELECT * FROM users WHERE clue > 0
0 rows returned
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->