OleDbConnection connection = new OleDbConnection(«Provider=Microsoft.Jet.OLEDB.4.0; Data Source=»+dirName+»;Extended Properties=dBase III»); connection.Open(); OleDbCommand cmd = new OleDbCommand(«select * from «+tableName+».dbf»,connection); rd = cmd.ExecuteReader(); rd.Read() XmlDocument doc = new XmlDocument(); doc.LoadXml(«<»+tableName.ToUpper()+»/>»); for (int i=0; i