Book Image

Microsoft SharePoint 2010 development cookbook

By : Ed Musters
Book Image

Microsoft SharePoint 2010 development cookbook

By: Ed Musters

Overview of this book

<p>There is a heavy demand in the marketplace for SharePoint developers that you could take advantage of - if only you had the opportunity to acquire the relevant skills! But, SharePoint 2010 is a big old product with a steep learning curve &ndash; where do you begin? <br /><br />This book has been designed to take the experienced ASP.NET developer from &ldquo;beginner&rdquo; to &ldquo;professional&rdquo; SharePoint developer in the shortest amount of time. You will be productive on you very first SharePoint development assignment with the knowledge and skills that you learn here. You will have distilled the essence of the author&rsquo;s many years of training, and leading development teams in SharePoint. <br /><br />This book uncovers the most common &ldquo;pattern&rdquo; of typical SharePoint development tasks encountered in the real world and puts the topics in a logical order with detailed step-by-step recipes for you to follow. <br />The practical example given builds and flows throughout the chapters and topics. By the end of this book, you will be able to apply the concepts to the challenges ahead of you!</p>
Table of Contents (15 chapters)
Microsoft SharePoint 2010 Development Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Using the Data Form Web Part with SQL Server


In Chapter 4, Development with SharePoint Designer 2010, we explored the use of the XSLT List View Web Part, a very specialized and powerful Web Part for use with SharePoint lists and libraries. At the base of this Web Part is the Data Form Web Part. This more fundamental Web Part can still easily make use of SharePoint's List and Library data, but it can also make direct use of external data connections to relational databases, REST Services, web services, or even plain old XML files.

In this recipe, we will use two connected Data Form Web Parts. One will display the list of publishers directly from the pubs database, and the second connected list will show the books (publications) from the selected publisher.

Getting ready

Ensure SharePoint Designer 2010 has been opened to the Chapter 6 URL:

  1. From the Navigation section, under Site Objects, choose Data Sources.

  2. From the Data Sources tab in the ribbon, click on Database Connection, as shown in the...