i need to create a .txt file and create this table inside that.
Example:
during the runtime i need to take values from an XML file and do some calculations and create this table like this.
the code i used right now is this.
writeToFile(currDate & " " & currTime)
writeToFile("Day Part CNT SV Time AVG")
writeToFile("------------------------------------------")
writeToFile("06:00 - 11:30 " & Count & " " & Time & " " & Avg)
writeToFile("11:30 - 13:30 " & Count1 & " " & Time1 & " " & Avg1)
is this the correct way to display in that format. how can we give space.
"Day Part Count" here some space is there between DAYPART and COUNT. how can we give that space to write to a file.
is the code i gave is correct or now.
if you have anyidea how to do this please let me know.
thanks in advance.
Example:
VB.NET:
6/13/2007 4:58:29 PM
Day Part Count TimeinSec AVG
----------------------------------------------
06:00 - 11:30 4 91 00:22
11:30 - 13:30 10 70 22:22
during the runtime i need to take values from an XML file and do some calculations and create this table like this.
the code i used right now is this.
writeToFile(currDate & " " & currTime)
writeToFile("Day Part CNT SV Time AVG")
writeToFile("------------------------------------------")
writeToFile("06:00 - 11:30 " & Count & " " & Time & " " & Avg)
writeToFile("11:30 - 13:30 " & Count1 & " " & Time1 & " " & Avg1)
is this the correct way to display in that format. how can we give space.
"Day Part Count" here some space is there between DAYPART and COUNT. how can we give that space to write to a file.
is the code i gave is correct or now.
if you have anyidea how to do this please let me know.
thanks in advance.