473,395 Members | 2,079 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,395 software developers and data experts.

Libraries for ASP.net that show Excel spreadsheets interactively...

I'm doing research for my employer, and I'm looking for a library for ASP.net that allows you to post an Excel spreadsheet online and have clients enter their data, saving and storing the data on our computer. I'm completely clueless, is this possible? And if so, what program would do the trick. This is all the info I have on the subject, so any help would be greatly appreciated. Thanks!
Jul 3 '07 #1
1 1334
cemenc
2
I know this may not be helpful , but I though I should tell you this anyway,

There are lot of component builders that sells kind of object (control). look as www.asp.net you will find lots of company there. They are not cheap I tell you this ahead.

http://asp.net/default.aspx?tabindex=6&tabid=31

also, I am working on a personal project that reads excel files and displays them, here is the code I have ;

Dim myConnectionString As String
Dim myConnection As OleDbConnection
Dim myCommand As OleDbCommand
Dim myDataReader As OleDbDataReader
Dim at As String
Try
Dim sloc As String = MapPath("filesfolder/myexcelfile.xls")
Dim fileExists As Boolean
fileExists = My.Computer.FileSystem.FileExists(sloc)
If fileExists = False Then
Response.Write("File exists = " & fileExists & "</br>")
Exit Sub
Else
Response.Write("File exists = " & fileExists & "</br>")
End If
myConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" _
& "Data Source=" & sloc & ";" _
& "Extended Properties=Excel 8.0;"
myConnection = New OleDbConnection(myConnectionString)
myCommand = New OleDbCommand("SELECT * FROM [3DHDistributing-bagscarrycasesA.xls$] where quantity>0;", myConnection)
myConnection.Open()
myDataReader = myCommand.ExecuteReader()

While myDataReader.Read
'For i = 0 To myDataReader.FieldCount - 1
' Response.Write(myDataReader(i))
'Next

Catch ex As Exception
Response.Write(ex.Message & " Error Line #" & Err.Erl)
End Try

End While

myDataReader.Close()
myConnection.Close()
Catch ex As Exception
Response.Write(ex.Message & " Line # " & Err.Erl & "</br>")
End Try


I hope this gives you an idea. I can picture you using this connection sample to import an excel file into datagrid and have your clients change anything and update it back with the excel file.

just a suggestion
Jul 4 '07 #2

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

Similar topics

1
by: smonczka | last post by:
I have a DTS package that needs to refresh data in 3 separate Excel spreadsheets on a daily basis. The problem is that unless I manually delete the previous day's data, it appends rather than...
3
by: Elliot | last post by:
The program loops through a dataset and creates several spreadsheets based on a change in a particular column. With each new spreadsheet I launch a new instance of excel. After about 100...
0
by: Rich Wallace | last post by:
Hello all, Looking for suggestions and tips if possible. I have an application running on a file server that utilizes the FileSystemWatcher to trap when any Excel files are saved by a user. I...
2
by: Jim S | last post by:
To my surprise and chagrin, newer versions of Access have disabled the functionality that lets users change the data in linked tables that point to a range in an Excel workbook. This is "because of...
19
by: wreckingcru | last post by:
I'm trying to output a SQL query that is constructed thru my VB.net GUI into an excel file. Here is the code I'm using: 'Sqlstmt is the SQL query statement 'Conn is the SQL Connection object...
1
by: Mitch | last post by:
I am using Access to create an Excel spreadsheets with graphs related to rows on the sheet1 to the graph on sheet2. I am using the same data but different subsets of the data to make different...
3
by: TC | last post by:
My project has a reference to the Excel 9.0 Object Library. My understanding is that, by using a reference to 9.0, I make my application compatible with Excel 2000, 2002, and 2003. If I use a...
0
by: DrewYK | last post by:
I have the project that may never end in front of me. I am creating a routine that will take SpreadSheets from Excel and bring them into Access. I am not using any "DoCmd"s because the goal...
1
by: thadson | last post by:
Hi, I'm trying to import specific cells from MS Excel 2000 spreadsheets to MS Access 2000 tables then move the spreadsheets to a different directory. I'm very new to this and I'm having trouble...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
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
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...
0
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.