Don Walker

Don Walker

  • NA
  • 11
  • 1.3k

C# Windows form to Word 2010

Feb 11 2013 4:38 PM
I am currently learning C# and need some assistance.

I have created a windows form that enters data into a sql database.  A Word document was created that will populate with info from the sql database on startup.   The word document will be started from the windows form.  The user will click the appropriate row in the datagrid and hit a "view form" button.

I need a way to tell the word document what the datagridview.Cells[0].Value  is.  I know of ways to move data to microsoft word after the page is opened but i need a string passed from one application to the other on startup so the form will be populated by the time it opens.  Can anybody assist me with this?  I greatly appreciate it

Answers (6)