How to load word document on windows form and save in database | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to load word document on windows form and save in database

How to load word document on windows form and save in database

23rd Jan 2018, 5:20 PM
Sandy
5 Answers
0
What do you want to do ? Do you want to save the word-document as word-document or do you only want to save the text of the word-document?
23rd Jan 2018, 8:30 PM
sneeze
sneeze - avatar
0
no I just wanted to load word document on windows form and edit it. and want to save in SQL database
31st Jan 2018, 2:16 PM
Sandy
0
Can you show a example? What is the word document like and which part do you need to save in the database.
31st Jan 2018, 2:22 PM
sneeze
sneeze - avatar
0
as examples - I want to save whole document in database so I can open any time and print. could you please suggest any control on which I can load & edit documents and save it in dtbse
31st Jan 2018, 2:32 PM
Sandy
0
In C# there is no Word-editor. You can start MS-word as a process but it will be a stand alone application. To edit plain text you can use a Textbox, Listbox or a RichTextBox It is not common to save a entire Word document in a database. It is possible in a BLOB-field (binary large object or am Image or VARBINARY (MAX) field. But I would not recommend it due to performance issue. Is it possible to save the path of the documents in the database ?
31st Jan 2018, 9:21 PM
sneeze
sneeze - avatar