left or right justifying a text file
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: left or right justifying a text file

  1. #1
    Join Date
    Jan 2010
    Posts
    3

    left or right justifying a text file

    Hello programmers. I am using sql to create a table from stored procedures and then streamwriter in vb.net to create a text file based on the sql table. Where and how do I control the right or left justification of the records in the text file? Thx.

    km

  2. #2
    Join Date
    Mar 2010
    Posts
    11

    Re: left or right justifying a text file

    You can use string.format method to specify left or right padding.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center