This article shows how to create and sort the database in XML format using datatable, dataset and datarow classes in Visual Studio 2010.