Hi Eric,
How are you retrieving your data? You should be able to do it with the
Visual FoxPro OLE DB data provider, downloadable from
http://msdn.microsoft.com/vfoxpro/do...s/default.aspx.
Here's some VB code that worked for me:
Module Module1
Sub Main()
Dim ConnString As String = "Provider=VFPOLEDB.1;Data Source=C:\My
Documents\Visual FoxPro Projects\test.DBC;Password="";Collating
Sequence=MACHINE"""
Dim con As New System.Data.OleDb.OleDbConnection(ConnString)
Dim cmd As New System.Data.OleDb.OleDbCommand("Select * From
TestTable1", con)
Try
con.Open()
Dim dr As System.Data.OleDb.OleDbDataReader = _
cmd.ExecuteReader()
While dr.Read()
System.Windows.Forms.MessageBox.Show(dr.Item(2).To String)
End While
Catch e As Exception
System.Windows.Forms.MessageBox.Show(e.ToString)
End Try
End Sub
End Module
--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@mvps.org www.cindywinegarden.com
"eric" <bl*******@hotmail.com> wrote in message
news:uS**************@TK2MSFTNGP15.phx.gbl...
Hi
Does any one know how to retrive data from foxpro 2.6 memo field in c#. I
just manage to retrive the first row.
/Eric