The formview control has several ways of binding(linking) data to it. I will briefly describe a couple of ways to do this and list some resources I found helpful. Getting started using the formview is not tough…. check it out!!!
Simple Way to Add a Formview and Link Data to it

Adding a formview by using the toolbox in Microsoft Visual Studio
First, you need to add a formview to your page by dragging and dropping it from the toolbox on the right in Microsoft Visual Studio. In the toolbox it is in the data section.(yellow circle above) Drag and Drop it on your page….

Here you can bind a datasource to the formview.
Next, switch to Design view (Pink Circle Above) in Microsoft Visual Studio. Then click on the little tab (green arrow above) on the right of your formview. From there you click on the drop down list next to Choose Data Source: Then a wizard starts up and you fill in all the information about the connection and what data you want…. You then have a formview with all the trimmings. [Note: If you have trouble with information for the connection wizard...i.e.- connection username, server name, password... try to ask your hosting service]
Binding Data to the Formview Using CodeBehind
Here I will show you one method I have used in codebehind to bind data to my formview. This is a LINQ to SQL sample using VB.NET…. I think the other steps would be different but assigning the datasource and the bind method[Lines L7&L8] would be the same regardless of how you connect to your database. Connect to the database and bind!!!
L1: Dim db As New Blog_InfoDataContext L2: Dim query2 = From BlogEntries In db.Blog_Entries _ L3: Where DateAdd(DateInterval.Hour, 14, Now()) >= BlogEntries.Start_Date _ L4: Select BlogEntries.ID, BlogEntries.Start_Date, BlogEntries.End_Date, _ L4: BlogEntries.Series, BlogEntries.Unit, BlogEntries.Additional_Comments _ L5: Order By Start_Date Descending L6: L7: FormView1.DataSource = query2 L8: FormView1.DataBind()
You can run this code in any event like (Page_Load, Etc.)
Other Links
FormView Control: Step by Step – This one seems to cover most of the the basic topics that are associated with the formview control.