请问大家在ppc上如何连接dbf数据库?如果能连接,能否举个连接dbf并且查询某个表的例子吗?
------解决方案--------------------
string strConn="Server=192.168.1.102;DataBase=watdb;User ID=sa;Password=sa;Persist Security Info=True;";
string CmdString = "select floor,way,Error from PDState where ( id ='001')";
SqlCommand srcCommand = new SqlCommand(CmdString, conn);
SqlDataReader srcReader = srcCommand.ExecuteReader();
while (srcReader.Read())
{
//从源数据库表读取记录