Microsoft Office Tutorials and References
In Depth Information
Data binding to host controls
Data Access Objects
Textbox ListObjects NamedRange
Data binding in Microsoft Office Word can be done in two ways:
Simple data binding
Complex data binding
Let's begin with simple data binding. In simple data binding, we'll bind data from
Microsoft SQL Server 2008 to the Microsoft Office Word 2007. Later, you will learn
the concept of complex data binding.
Simple data binding
In simple data binding, a control property is bound to a single data element. With the
exception of the XMLNodes control, all host controls support simple data bindings.
Office Word 2007 has a new type of control called content controls. Content controls
are containers within which specific types of content, such as dates, lists, pictures, or
text, can be placed. Let's work out a simple data binding in Word 2007 using Visual
Studio 2008:
Open Visual Studio 2008, to create a new Word 2007 Document
template project.
Select New Project . Under Office, select 2007 . Then, select the Word 2007
Document template, and give the the project a name of your choice.
Next, you need to select the document type, and name the document for
your solution.
Search JabSto ::

Custom Search