OleDbDataReader Reader = Command.ExecuteReader();as used below
string ConnectionString = @"Provider=vfpoledb;Data Source=c:\datadotnet\vfp\bin\debug\samples.dbc"; /// Create the connection OleDbConnection Connection = new OleDbConnection(ConnectionString); /// Open the connection, access the data and close the connection Connection.Open(); string SelectCmd = "SELECT TOP 3 LastName, FirstName, Title FROM Employees ORDER BY employeeid"; OleDbCommand Command = new OleDbCommand(SelectCmd, Connection); OleDbDataReader Reader = Command.ExecuteReader();Leo