Author: dwfreeman | Posted on: 12/12/2008 9:29:56 AM | Views : 331

Here is my code that allows a user to download some VFP data to the local PC.

Protected Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button4.Click

Dim oConnVFP As New Data.OleDb.OleDbConnection(ConfigurationManager.ConnectionStrings("VFPLibrary").ConnectionString)

Dim cPath As String = Server.MapPath("App_Data")

Dim SQL As String = "SELECT * FROM library3 ORDER BY title INTO TABLE " + cPath + "\Temp.dbf"
Using oConnVFP
Dim ...

Go to the complete details ...