Convert Database to XML. this code use classes. you just have to put the database file and the program will show table from your database. put the Query, the record result will shown in xml.