From the course: SharePoint Designer 2010: Creating Data-Driven Web Pages

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Connecting web parts

Connecting web parts - SharePoint Tutorial

From the course: SharePoint Designer 2010: Creating Data-Driven Web Pages

Start my 1-month free trial

Connecting web parts

So, up to this point, we've been creating pages with single web parts on them, but we can add multiple web parts to those pages. Let me show you why we might, just with a simple example. I'm going to make a new Web Part page in my Site Pages library. I'll just call this one multiple.aspx, jump in to edit this, and click into the placeholder. Now as ever, I'm going to jump up to my Insert section of the ribbon and come across to Data View. Now, it really doesn't matter with what I'm trying to describe here, whether the data is coming from a built-in SharePoint list or library, from a database, data source, from an external list, from external content type, or from anywhere else. It's going to work pretty much the same way. I'm going to select my database connection that I have here. It thinks about it for a second and then inserts this classic Data View here, choosing the data form web part, but it's a view of multiple pieces of information. Well, let's say that wasn't what I wanted…

Contents