Web Forms :: How To Create Printable Web Forms Using Word Or Excel Docs As A Guidline

Mar 21, 2010

I have been presented with numerous word and excel docs. The goal is to put them online and bind to a database for the fields and also to store data for easy searching and reporting.

Has anyone done anything like this before?

I know the easy solution would be to create a database table for each particula form and also an ASP.net page for each form.

But then there are problems like printing and correct formating so it fits on the page, spaning multiple pages and so on.

And also is there any advice on how to write to PDF straight from the page?

View 1 Replies

Similar Messages:

Web Forms :: How To Open Word / Excel Docs In New Window

Oct 13, 2010

I'm trying to open Word & Excel docs in a new browser window. The windows opens and then closes straight away. I think I may need browser plugins. Can someone provide some advice on how I can achieve this?

Here's my code:

From calling page:


From new page:


View 1 Replies

Web Forms :: Create / Show / Edit A Excel File - Use The Google Docs Api Or Any Dll?

Oct 30, 2010

I want create/show/edit a excel file from my asp.net application. All I want is like the working of Google docs. Is there a way I can implement it? Any dll or can i even use the google docs api for that?

View 4 Replies

Security :: Forms Authenication Prevent Word Docs Being Rendered

Nov 23, 2010

I have a .Net 4 web application which has a folder called "docs" which is full of Word docs on the root of the website. The words docs are linked with a gridview in my "admin" section

I only want Autheicated users to be able to renders the word docs in the doc folder. I am finding if the user logs out and they manually type in the url to the Word document it renders the file eg.


i have tried putting this in my web.config but did not work for the Word docs. It stops the rendering of .aspx files but not .doc's

<location path="docs">
<deny users="?" />

Is this because the .doc extension is not hadled by the .Net framework and that I need to do something to Handler Mapping in IIS7? I would prefer to put all my security setting in the web.config ideally

View 5 Replies

C# - Retrieve And Zip Up Word Docs From SQL Server

Apr 4, 2011

I have an asp.net app that uses a SQL Server 2005 database to store word documents. One of the application requirements is that when a user clicks a button, the system retrieves some number of word documents from the db, zips them up in memory and allows the user to save the zip file to disk.

Is there a zip library that provides the ability to zip up files in memory? The few that I've seen read from the file system.

View 3 Replies

C# - How To Display Size And Icon For Pdf And Word Docs

Oct 13, 2010

I have webpages that contain links to word documents and pdf files. For each link I want to display the file size and an icon showing what the file type is.

I'm thinking the best way to do this would be with CSS? Can anybody give me an example of how to do this?

View 1 Replies

Html - Programmatically Generating Editable Word Docs?

Jun 25, 2010

The purpose is to generate proposal documents that can manually be edited in Word after the fact, but before sending them out to the customers.

Much proposal content would be drawn from existing HTML website content (backing CMS) and also some custom (non-HTML) injection for certain scenarios. Of course the conditional logic could go into server-side ASP.NET to vary the content appropriately.

I'm open to 3rd-party tools if raw manipulation of the Word API is arduous. In fact a good 3rd party tool might be the answer.

View 3 Replies

SQL Reporting :: Create Relative Hyperlinks In Word And Excel From Ssrs Rdlc?

Sep 30, 2010

How to create relative hyperlinks in word and excel from ssrs rdlc?

View 2 Replies

Web Forms :: Export XML String To Excel Or Word

Aug 9, 2012

I am having a html page.

I can able to read the html page and store in a string variable.

I need to convert this string to xml and export to excel or word.

View 1 Replies

Web Forms :: Displaying Word & Excel 2007 Documents?

Jul 22, 2010

I am loading documents into our Oracle database and then retrieving them for the users to view. So far PDF, DOC, XLS, CSV, etc. all perform as expected, however; DOCX, XLSX, etc. files have one annoyingly persistent issue. When the document is downloaded by the user and they open it you get the first in a series of messages: The file 'thefile.docx' cannot be opened because there are problems with the contents. Details: The file is corrupt and cannot be opened. and then: Word found unreadable content in 'thefile.docx'. Do you want to recover the contents of this document? If you trust the source, click Yes. After clicking yes the file opens and all of the content appears correct. Including images, formatting, tracked changeds and comments, equations, etc. I have tried multiple methods along these lines to no avail. I simply want the files to open without the false-positive error messages. I am using VS2010, with the website targeted at .Net Framework 2.0.

objConn =
cmd = New
cmd.Connection = objConn
& strDocumentID & "'"
dr = cmd.ExecuteReader

View 5 Replies

Web Forms :: Convert Document (Word / Excel / PDF) To Image (JPG)

Apr 27, 2016

How to convert Document (word, Excel, PDF) convert to jpg ....

View 1 Replies

Web Forms :: Upload Word PDF And Excel Documents To SQL Server Database?

Nov 25, 2011

I want to know how to upload Word, PDF and Excel documents to SQL Server database in ASP.Net

View 1 Replies

Web Forms :: Display Word Excel PowerPoint PDF Files In Website

May 7, 2015

How to open word/Excel/Power Point documents in edit mode in any browser using asp .net.

View 1 Replies

Web Forms :: Programmatic Server Side Conversion To PDF From HTML - Word And Excel

Dec 17, 2010

Sorry, not sure if this is the right place for this. I have a requirement to convert Word, Excel and HTML docs to PDF format programmatically, but most information online seems to be talking about client side. What is the best approach for this. I think there would be about 100 conversions a day in production. It's not high volume.

View 2 Replies

Web Forms :: Export GridView With Images From Database To Word Excel And PDF Formats

Jun 29, 2012

protected void btnExportPDF_Click(object sender, EventArgs e) {
Response.ContentType = "application/pdf"; 
Response.AddHeader("content-disposition", "attachment;filename=GridViewExport.pdf");           
StringWriter sw = new StringWriter(); 

[Code] ....

Unable to cast object of type 'iTextSharp.text.html.simpleparser.CellWrapper' to type 'iTextSharp.text.Paragraph'. this error came how can i solve?

View 1 Replies

Web Forms :: Open Word Excel PDF PowerPoint (PPT) Files In New Browser Window?

Mar 26, 2016

Below is the page and file is in local drive.

<asp:GridView runat="server" ID="gvDetails" AutoGenerateColumns="false">
<asp:BoundField DataField="Id" HeaderText="Id" />


View 1 Replies

Web Forms :: Decode Base64 And Quoted Printable String?

Jan 10, 2011

I am using the following code to decode base 64 and quoted printable encoded messages. It works well for all the charset's except for quoted printable chinese (Charsets: GB18030, GB2312). When I tried to decode, I am getting '?' as output. provide on this code or any other code that decodes all types of encoded string?



View 4 Replies

Forms Data Controls :: Creating Printable Forms?

Feb 1, 2010

I have been trying to do this for some time with no luck...

The user registers an item into our database and is then presented with the just inserted details. This item requires a couple of labels, a CD Face label, a CD Inlay label and a barcode label for the packaging. Previously this was done by word templates which had a form on opening to gather the info. Each item then (in theory) requires the user to put in some basic facts 4 times if you include the original registration.

The issue I have is with internet explorer I guess, or the presentation of the data... For instance our barcode printer uses labels which are 5cm x 7cm. Anything remotely larger will not print correctly. So I make a formview with everything set out as 4cm x 6cm and set the page setup to 4.5 x 6.5. it then printed across 4 labels. This is quite frustrating as the print has to be consistent and is reliant upon the user setting quite a few items before trying to print!

So my next excursion was with Word. Create an Interop.Office based way of filling fields in on a template that I knew printed everytime bang on. After the faf of CSID issues and permissions to launch applications, I found that it would work if I was running it using the ASP.net test environment, but on the server it just spawned winword.exe over and over !!!!!!!

The ideal way for me would be that a formview is printable, the ideal way for the user is using word but automate the items being filled in, however I can't seem to get either to work correctly!

View 3 Replies

Web Forms :: How To Find And Concat Pdf Docs

Jan 15, 2010

I have a web-report listing links to pdf documents. The pdf docs shows up in a new page based on frames in frames. I do not have control on the page showing pdfs.

In the web-report I want to let the user select multiple docs and then send them to print on the client.

View 1 Replies

Web Forms :: Create Word Document And Attach With Email?

Jul 3, 2010

I got a following code from another thread for generating word document it seems to be working.Now I would like to know how to attach newly generated document with email.


View 3 Replies

Forms Data Controls :: How To Display Excel / Pdf And Word Binary Data In A Gridview

Sep 20, 2010

I'm using the following code to upload images, pdf files, word files and excel to a sql table as binary data. However, I can only figure out how to display the images but am clueless about the other type of files. What adjustments do I need to make so that with a button click I can access the other files? 't By the way, I'm using an image control to display the binary data and I'm aware that that will only work to display images, I just don't how to access all the other types of files once uploaded.


View 2 Replies

Forms Data Controls :: Displaying Data Together To A Printable Format

Oct 20, 2010

I have a page with a datalist on it. The datalist shows numerous rows with various data in each column, each showin in a textbox. I'd like the user to be able to select or not select each row (displayed in datalist), and then to click a button which would place all of the data in selected rows into one big label so that it can be printed or emailed.

View 3 Replies

Web Forms :: Is There A Way To Create Tab Like In Excel?

Feb 10, 2010

Is there a way to create a tab like in excel.

I want to display different datagrid view. but I don't want to have many page.

View 2 Replies

Creating Charts From Excel And Exporting To Word?

Nov 8, 2010

So im trying to develop a web-based site that allows a set of charts to be created about different informationNow i need to use this information to generate some charts (most likely throught excel) and then export all of the charts to a word document. The problem im finding is how am i able to send all the charts to word and format them to put multiple on one page and formatted to certain locations. Is there a way to do this or will i be fored to send them to word and then open that document and organize them myself.?

View 2 Replies

Web Forms :: How To Create Excel File

Sep 12, 2012

I want to create an Excelfile on the click of a button in C# and when i click the button again it Creates another file with the same name(can add name changed from like Files to Files1) but i dont want to override the previous file.Like if i click button twice there should be two files with small change in the name.

View 1 Replies

Copyrights 2005-15 www.BigResource.com, All rights reserved