473,378 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Creating Excel file in asp.net using vb without installing office

I want create my output in excel file. But in server i cannot install office, its too costly

i am developing it with vishual studio2005 with vb.


so anybody can give the solution for this


thanks in advance
Mar 16 '10 #1
2 5799
tlhintoq
3,525 Expert 2GB
You don't need Office installed to use the .Net framework, which has office namespace.

http://msdn.microsoft.com/en-us/library/bb726434.aspx
Mar 16 '10 #2
If you open the output excel file within the browser(inline), you can just output a html with Response.ContentType = "application/vnd.ms-excel". In the html you can use a table to render you data.
If you need to generate a complex excel file and you don't know what the html codes should be, you can:
1. create a similar excel as what you want via Microsoft Excel.
2. save it as a html file, you will get the html codes.
Dec 27 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: James Baker | last post by:
Here's my situation. I need on-site manager's to be able to view a list of records on our website (which they already can do). They need to be able to select any/all fields and then export...
0
by: ICE Srl | last post by:
Hi everybody I am trying to build an ASP.Net application to create dinamically an Excel File on the server. I am trying using this VB code Public Sub CreateExcelForm( Dim MyExcel As...
3
by: Whoever | last post by:
To create Excel file, you can Add Reference Visual Studio.NET, browse to ... and then select Microsoft.Office.Interop.Excel, etc. It endsup some reference to GUID in project file. You can then...
9
by: hari krishna | last post by:
hi, I want to send the data from dataset information to Excel through ASP.Net. there will be no XL installed on web server. web server is win 2000 server machine. I am using visual basic code in...
4
by: Maileen | last post by:
Hi, I'm new to VB.NET and i have a little trouble with a small task regarding use of Excel files. My VB application should be able to open an Excel file, extract some data, create another...
8
by: Wilbur Slice | last post by:
I need to write some VB.NET objects that can be called from another environment (a Progress app, specifically). I'm having some difficulty getting this to work. My first assumption was that I...
2
by: kalaivanan | last post by:
hi, i did not the office version of the system in which the application is going to be deployed. is there any way of opening an excel file which is office independent. My requirement is that i...
4
by: mina | last post by:
One of my client want to export data into excel file but he can not installed office just installed excel and want to export file into ..xls format at that time he got error .... Retrieving the...
2
by: Senthil | last post by:
Hi All I need to create an Excel report and create a command button and have to run a macro on the click event that will print all the pages in the Excel workbook. I am able to create the report...
4
by: =?Utf-8?B?UHJpeWE=?= | last post by:
Hi, I'm developing a webservice whicg reads data from a database and exports to a excel sheet. This applciation works if i have MS Office installed in my system . Since i'm unable to install MS...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.