Datagrid is trimming spaces in field - Projects on hold due to this issue.

Joined
Jul 7, 2005
Messages
1
Reaction score
0
Hi,

I am newby in ASP.net programming and I am presenting problems with a column in a Datagrid.
(I have also found that when I populate the field data to a label, it is also trimmed).

I have one field PartNumber whch is 19 chars

See the sample data format:

N60-2717 A (This should take the 19 positions in the field)

but, when the data is populated to the datagrid or Label, it is being trimmed to

something like this:

N60-2717 A (Which is not in the exact format)...

It is IMPORTANT that the part keeps its exact lenght, because this format with 19 chars
is used later for other purposes...

Pls. anybody help me with this...

Thanks...
 
Last edited:
Back
Top