开发者

how to read check box in a word document in asp.net

开发者 https://www.devze.com 2022-12-24 13:31 出处:网络
hi friends present i am working as developes, i want code for the following scenario my scenario is the word document must contain checkbox, and this word docu开发者_开发百科ment should read to asp.ne

hi friends present i am working as developes, i want code for the following scenario my scenario is the word document must contain checkbox, and this word docu开发者_开发百科ment should read to asp.net page, when user click the check box, the selected value should be stored into the database

can any one help me


From what I understand, what you're trying to do is to read a column inside a word document, and store the values into a database.

First approach - sharepoint

It seems to be a perfect fit for sharepoint. If that is an option you can do the following:

  1. set up sharepoint
  2. set up a document library
  3. set up a document template

The user will have a form to fill values into, but also available in a word document format.

This technique may be overkill depending on what you ultimately want to do.

Second approach - Office SDK

Microsoft Office SDK comes with the CheckBox object. You can try open up the document programmatically and interogate the CheckBox object.

I would not advice this code to be run on the server as Microsoft Office isn't meant to be run as a server. Whereas Sharepoint is.

If you really want to do this, you may need to write a queueing mechanism so that the act of running the office sdk calls is batched and run one at a time in sequence.

0

精彩评论

暂无评论...
验证码 换一张
取 消