Dear sir/mam, i am a sofware developer and has been working in .net platform. I ve already tried to export single table data to a text file and getting all tables data to a datagrid through this text file.Its working properly. But now i want to export all tables data from a database to textfile and want to get all tables column name programatically in console Application.But i cannt able to export all tables data to a text file. i shall deem it great favour if u kindly look into this matter and send me some code page on this.thanking you Chiranjib Patra