Datarow array objects truncates text

TheSilverBullet used Ask the Experts™
a DataRow  dr, now I say dr[0] = sometext
the problem is that it truncates my text, so the dr[0] does not show more than maybe 250 chars, how to solve this?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Luis PérezSoftware Architect in .Net

Well, your datarow must be in a dataset that must be data-binded with some data source. Probably, in your data source, the underlaying field that holds dr[0] has a 250 value in max-length.
it turns out that the range.value2 is not like range.text.tostring(), the latter is limited!! whilst the former is much bigger and gets all the text, I was using that to fill my datatable/datarow

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial