Data-Bound Content Controls Sample

This sample demonstrates how to bind content controls on a Word document to fields in a Microsoft Office Access database. Each content control on the document is bound to a different field in the Northwind sample database. The document also displays an actions pane that you can u

9,511 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • liink database was always have problem?
    1 Posts | Last post October 20, 2011
    •    OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=bwc.mdb;User ID=zhang;Password=123");
      That was my link words ! but I don't know where was wrong?
  • How to add a datagridview to the custom task pane
    1 Posts | Last post October 05, 2011
    • Hi Beth,
      I've tried to add a datagrid to this and in several other projects including one that used a WPF control library and I get the same results. In design time it previews the data correctly, but in run time only the column headings show.  
      I dragged a datagridview to the usercontrol (task pane) just under the buttons.  Then, I used the dropdown on the datagrid to select the products table. Do I need to add any code to make it populate the grid?
      I'm using VS2010 and Word 2010.  
      PS is there a way to make contextual tabs in the ribbon control?