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:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top