Writing to a text file at specific position?
<p>How to write a file in a specific position instead of giving space like <code>"           "</code>.Here i am writing to a file,the output i am getting is like</p>

<pre><code>TIMESTAMP              'ATRS_ACCT_TIMESTAMP',
OU_ID              'ATRS_ACCT_OU_ID',
COMPANY_CODE              'ATRS_ACCT_COMPANY_CODE',
BU_ID              'ATRS_ACCT_BU_ID',
</code></pre>

<p>but i need output like this</p>

<pre><code>TIMESTAMP          'ATRS_ACCT_TIMESTAMP',
OU_ID              'ATRS_ACCT_OU_ID',
COMPANY_CODE       'ATRS_ACCT_COMPANY_CODE',
BU_ID              'ATRS_ACCT_BU_ID',
</code></pre>

<p>Here is my code</p>

<pre><code>string[] ss = new string[tblSchema.Rows.Count];
for (int i = 0; i &lt; tblSchema.Rows.Count; i++)
{
    ss[i] = (tblSchema.Rows[i]["ColumnName"].ToString());
    dest.WriteLine(ss[i].ToUpper() + "              " + 
                   "'" + textBox2.Text + ss[i].ToUpper() + "'" + ",");
}
</code></pre>

<p>Any suggestion?</p>
