Error when listbox items are too long

D

Dennis

I have a listbox that I fill with data from a stored proc. It's very
basic - the proc returns two columns, one is used for the
DataValueField of the listbox and the other is the DataTextField. The
problem I have is when there is data returned for the DataTextField
that is over a certain length (somwhere around 70 characters, I'm not
sure what the exact limit is), the page errors trying to fill the
listbox.

How can I make the listbox accept longer values? I've tried setting
the width but that doesn't make a difference.
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top