Write text to notepad with format
Dear all
I am fetching some data from database having 4 columns
I want to fetch it in notepad file by creating same no of columns as follows
colmn1 column2 column3 column4
------ ------- ------- ---------
------ --------- -------- --------
------ -------- -------- ----------