P
PawelR
Hello Group,
In my apps I formating string:
String.Format("{0,-15}{1,-10}{2,-25}{3,-25}",myTable)
How change width column in code.
Column width must be more that length string in table.
I know how is max length string in myTable.
this code is incorect
int a = -15;
String.Format("{0,-a}{1,-10}{2,-25}{3,-25}",myTable)
Error: incorect string format
Thx PawelR
In my apps I formating string:
String.Format("{0,-15}{1,-10}{2,-25}{3,-25}",myTable)
How change width column in code.
Column width must be more that length string in table.
I know how is max length string in myTable.
this code is incorect
int a = -15;
String.Format("{0,-a}{1,-10}{2,-25}{3,-25}",myTable)
Error: incorect string format
Thx PawelR