Edit Excel files in asp.net - asp.net

We have some document on the server and want to edit thru asp.net application. So a client can login into his account as related excel file will be hosted on a page of asp.net page.
Does anyone know how to edit server document (excel file) in asp.net from the client side.

If you want to edit the Excel file in your code, in the ASP.NET application, then you may try Aspose.Cells for .NET. This is an API which provides quite flexibility to manipulate Excel files without the need for Microsoft Office to be installed on the server. However, it can only work in the full trust environment, but not a shared hosting environment. Please see if this might help in your scenario. For further details, you may consult the Aspose.Cells for .NET documentation.
Disclosure: I work as developer evangelist at Aspose.

Related

Hosting asp.net website with database

I have created one asp.net website (project) with the help of Microsoft Visual Studio 2010. The database of the respective project is designed with the help of Microsoft SQL Server Management Studio 2008. Now I want to publish the website on the internet. Can somebody please guide me in this?
Thanks in advance.
You need a Windows hosting provider (a provider that uses windows servers) that supports all the technologies you used (MVC maybe?)
Remove all debugging code (if any) from your application and modify the web.config as needed
upload the whole project folder (without the .sln file) to the server and try to run the website
if you run into an error, ask a good question on stackoverflow :-)
Please note: StackOverflow is not a tutorial site and is only for specific questions like "What and where are the stack and heap?" not "How to write a hello world application in C#". While I am answering this question, please avoid asking such broad questions in the future.
Consider trying azure.
You get more control over what you do and its really simple to publish
http://azure.microsoft.com/en-us/pricing/free-trial/
Azure hosts its own database so you just move your tables into it.. there are a ton of guides on how to start this

ASP.NET and WEBSERVICES

Is it possible to remotely access the database over internet using ASP.NET and .mdf file. If yes then How?
I'm searching for the solution from last 4 days and came up with the idea of Webservices. I learned XML for this but the problem is I dont know how to use the webservices. I mean how to embed it in my project so that the database could be accessed remotely?
Please help and thanks in advance!
I'm not sure what you mean by "embed it in my project". The web service is web application that needs to be hosted on a web server, so you cannot embed it in your project as your project will be accessing it remotely (i.e. from another location). You can add it as another project to your solution, and then consume it in your project. You can google and learn how to consume a webservice.

How to configure telerik's asp.net compnet on Somee.com webserver

I am using a free account in somee.com.
I have few queries related to this.
How can I configure and view the style components of telerik on web.
(if someone tried) Where can I find IIS settings in somee.com so If I want to modify anything there.
If you guys have any information about free asp.net hosting sites/server so please share.I am a student and I want to try website which was build in asp.net
How can I configure and view the style components of telerik on web.
Telerik RadProgressArea requires Full Trust level.
As long as you do not use RadProgressArea, it should be fine with most share hosting site.
If you have questions regarding server, you can ask at Server Fault.

Why my uploaded pages are not shown on the browsers?

I create a web site via Visual Studio Web Developer. The exension of files are .aspx.
I had also uploaded those files to the hosting server by filezilla client. bt I can't show my pages on the net. Why?
If I write, ../default.aspx, then I meet empty white page include NOTHING.
When I see it on m local computer, there is no any prolem.
Please reply to me as fast as you can.
Best regards, Veli
You will need to "publish" the site using the features in visual studio. This will compile all of your code into the appropriate dll which u will need to upload along with the aspx files
This depends on whether you app is a web site project, or a web application. If it's a web application you'll have to build the site and publish it to your web host. If it's a web site project, you can simply copy the markup and the corresponding code-behinds up.
For more information regarding web deployment of asp.net projects you need to watch the "Web Deployment" section here. It probably will answer many questions you might have regarding this.
Building Applications with ASP.NET 4 WebForms

Editing Documents (DOC, DOCX, RTF, TXT) in Webforms

I'm developing a web application using asp.net 3.5. This application has a lot of documents like .doc, .docx, .rtf, .pdf, .txt, etc... and sometimes the usar need to edit this documents. As a good web application the user need to download the file, edit it and upload again to the server.
I would like to know if is there any way (a component) to make a editor (like MS Word) in webform that allow the user edit the document and save it on server ?
Thanks
You can use the WebDAV protocol to achieve this, which is an extension of the HTTP protocol that allows documents to be downloaded, locked and uploaded and can be kicked off from your Webforms app.
There is quite a mature open source project for .net that you can build upon for your own implementation at http://sourceforge.net/projects/webdav/ with an example webforms project and the code for the server (ignore the comment about there not being source code it's incorrect)
For editing Office docs on a server, there is Office Web Apps. For business scenarios, this requires SharePoint Foundation 2010, which is free with a licensed version of Windows Server.
For non-office documents (PDF), you will need to find another solution for each one, since they are application-specific.

Resources