+ 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
5 Réponses
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?
0
no I just wanted to load word document on windows form and edit it. and want to save in SQL database
0
Can you show a example? What is the word document like and which part do you need to save in the database.
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
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 ?