Retrieve InfoPath Forms
Learn how to retrieve InfoPath forms from SharePoint or SQL Server.
Retrieve from SharePoint
Programmatically retrieve an InfoPath form from a SharePoint library
Use the System.Net.WebClient class or Copy web service to retrieve an InfoPath form from a SharePoint library.
Retrieve from SQL Server
Retrieve an InfoPath form from SQL Server and display it in a new instance of InfoPath
Retrieve the XML value of the database field containing the InfoPath form, save it locally as a temporary file, and open it using this.Application.XmlForms.Open().
Retrieve an InfoPath form from SQL Server and display it in an InfoPath FormControl
Use code to retrieve the XML of an InfoPath form from SQL Server 2005, convert the InfoPath form into a MemoryStream object, and load this object into an InfoPath FormControl on a Windows Forms application.



