G
Guest
Hello,
I am reading a Column form the DataTable and have to display in the
RichTextBox/TextBox (With Multi-line).
When I try to do so:
The width occupied by each charaters are not same and that causes column
alignment problem.
For ex.
Name Address
---- -------
AAAA NYC
aaaa NYC
Here Both the AAAA and aaaa are 4 in char count, but they are not aligned
because each char occupies its own No. of pixels.
On the other hand, If you copy and past the contant in the notepad, it
aligns properly.
Any suggestion of settings ant attribute to the textbox/RichTextBox?
or Any other control that behaves in the way I expect?
Thanks in advance
With regards
Venkat
I am reading a Column form the DataTable and have to display in the
RichTextBox/TextBox (With Multi-line).
When I try to do so:
The width occupied by each charaters are not same and that causes column
alignment problem.
For ex.
Name Address
---- -------
AAAA NYC
aaaa NYC
Here Both the AAAA and aaaa are 4 in char count, but they are not aligned
because each char occupies its own No. of pixels.
On the other hand, If you copy and past the contant in the notepad, it
aligns properly.
Any suggestion of settings ant attribute to the textbox/RichTextBox?
or Any other control that behaves in the way I expect?
Thanks in advance
With regards
Venkat