O'Reilly logo

Visual Studio Tools for Office 2007: VSTO for Excel, Word, and Outlook by Eric Lippert, Eric Carter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

19. VSTO Data Programming

A FULL TREATMENT OF Microsoft’s ADO.NET data programming model could easily fill an entire book of its own. Therefore, this chapter starts with an example of how to use the VSTO designer to create a data-bound customized spreadsheet without writing a single line of code. After that, the chapter examines some ADO.NET features and then delves into the Word- and Excel-specific programming model.

To understand ADO.NET in all its complexity, read Shawn Wildermuth’s Pragmatic ADO.NET (Addison-Wesley, 2002) and the data binding chapters of Windows Forms Programming in C# (Addison-Wesley, 2003) by Chris Sells.

Several developer scenarios in Office development leverage data binding. If you use data binding with Windows Forms ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required