By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,775 Members | 1,425 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,775 IT Pros & Developers. It's quick & easy.

C# Windows Application How to Upload a Word Document

P: 18
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
Share this Question
Share on Google+
3 Replies

Expert 100+
P: 692

Check out The following link :
Upload Document to The Database
Jan 6 '09 #2

P: 18
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

P: 13,264
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

Post your reply

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