jagr12
asked on
Write data from SQL to CSV file - position
I am trying to create a sub to write fixed lenght to cvs file. Could you help? Max lenght per line is 500.
Public Sub ExportOrderData()
Using MyFile1 As New StreamWriter("C:\Temp\MyFi le.csv")
position 10 - 15 = write Order #
position 17 - 25 = write Description
position 30 - 100 = write Address
max size per line is 150
End Using
End Sub
Public Sub ExportOrderData()
Using MyFile1 As New StreamWriter("C:\Temp\MyFi
position 10 - 15 = write Order #
position 17 - 25 = write Description
position 30 - 100 = write Address
max size per line is 150
End Using
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.