Possible Duplicate:
How to use Progress bar during loading an xml File
I have an XML file and there are almost 200.000 records in the XML file.
I load those records to the DataTable like below.
string file = "C:\\records.xml";
DataTable dt = new DataTable();
dt.ReadXml(file);
when this process works application waits until loading data to datatable.
So, i want to use this time. And i want to show to user processbar while loading data to the datatable.
How can i do it?