InfoPath Tutorials: Use Data Connections in InfoPath

Learn how to use secondary data connections in InfoPath.

SharePoint Data Connections

How to add a data connection to a SharePoint list or library in InfoPath

This step-by-step InfoPath tutorial explains how to add a data connection to a SharePoint list or library and then view the structure of the secondary data source in the Data Source task pane.

Add a data connection to a SharePoint list in InfoPath 2010

Get step-by-step instructions for adding a data connection to a SharePoint 2010 list or library to an InfoPath 2010 form template.

Programmatically submit an InfoPath form to a SharePoint library, send an email, and then close the form

This article shows how you can use the FormEvents_Submit event handler to programmatically execute 2 data connections, one to submit to a SharePoint form library and the other to send an email, when submitting an InfoPath browser form, and then close the form afterwards.

Database Data Connections

Connect InfoPath 2010 to a SQL Server 2008 table

Learn how you can create an InfoPath 2010 Filler Form to connect to a SQL Server 2008 database table to view and submit data.

Use an Access table as a secondary data source in a browser-compatible InfoPath form

Use Microsoft Access' feature to link a table to a SharePoint list and then use this list as a secondary data source in a browser-compatible InfoPath form.

Using a Receive data connection in InfoPath to execute an SQL Server stored procedure

Learn how to temporarily change the Command property of a Receive data connection in InfoPath to execute a SQL Server stored procedure and insert data into a database table.

E-mail Data Connections

How to send email from an InfoPath browser form in SharePoint

Learn which options are available when you want to send an email through an InfoPath form that is running in InfoPath Forms Services in SharePoint.

Web Service Data Connections

How to get data from a MySQL database into InfoPath using a Web Service

This article shows you how to use a Microsoft .NET Web Service to retrieve data from a MySQL database and display the data in an InfoPath form.

How to submit data from an InfoPath form to a MySQL database using a Web Service

This article shows you how to use a Microsoft .NET Web Service to submit data from an InfoPath form to a MySQL database.

XML Data Connections

Create a data connection to an XML file in InfoPath 2010

Learn how to create a data connection to retrieve data from an XML file that is stored as a resource file in an InfoPath 2010 browser-enabled form template that is to run in InfoPath Forms Services in SharePoint 2010 and filled out through a browser.

How to extract the month name from a date picker in InfoPath

Learn how to use a secondary data source, rules, filters, and InfoPath functions to extract the month name from the secondary data source based on the date that is displayed in a date picker control.

Working with InfoPath