473,395 Members | 1,458 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.

C# Windows Application How to Upload a Word Document

Hi there.I have a windows application in Visual Studio 2008 using C# 3.5 and SQL server 2008.I am trying to create an upload button to upload a candidates cv to a sql database.I have the browsing feature done which allows a user to browse for the file, but i am unable to perform the upload part...Can anybody help me in finding a solution to this please?
Thank you in advance...
Jan 6 '09 #1
3 4172
shweta123
692 Expert 512MB
Hi,

Check out The following link :
Upload Document to The Database
Jan 6 '09 #2
Thanks Shweta123...The problem is, that solution is in ASP.Net , and i have only been exposed to building windows applications, so to convert that code is abit difficult for me..
But thank you very much for your response!! :-)
Jan 7 '09 #3
r035198x
13,262 8TB
The only difference is on how you get a reference to a Stream object of your file. the rest of the code is C# that should still work for your purposes. Have a look at the code again.
Jan 7 '09 #4

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

Similar topics

1
by: kalyan | last post by:
Hi Using Input in HTML i am allowing user upload the document. When they click submit i am saving in Server. They can upload same document any time. Here is my problem each time when they...
0
by: jgnguyen | last post by:
Anybody got any ideas on how to parse a resume form a word documnet. Basically the asp.net form would required users to upload word document, the webserver would then use ms word to open and save...
7
by: Zeke | last post by:
I'm using the following code to create word document but the problem is if you go to task manager you'll see a WINWORD.EXE process is running but not the application, here is the code: ...
2
by: briano | last post by:
Is there a library that allows editing Word documents in the browser that is browser independent? Please forgive this question. Just trying to cover all bases. So far what I see is HTML or RTF...
10
by: Aj Blosser | last post by:
Hey guys, I have a question for you, I have a setup where I'm sending files through the POST to a php web page, I read the file contents, put that file contents as text into the POST string, and...
1
by: Mats-Lennart Hansson | last post by:
Hi, I want to create a windows application that takes a .dot file containing one page, multiplies that page and the saves it to disk as a .doc file. That is, I want the new document to contain a...
3
by: Dennis | last post by:
I would like to host a word document in a windows form. Can anyone give me any guidance on how to do this, i.e., a control that accepts and displays a word document? -- Dennis in Houston
0
by: Niyazi | last post by:
Hi, I created application that store the data in SQL SERVER that reside on network. The client also use this application to access the resources provided with application. But is the client want...
0
parshupooja
by: parshupooja | last post by:
Hello All, I am trying creating a page where to I should be able to upload Word document and after uploading word document screen on the page should display word document, exactly the way it is. ...
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...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.