Is it merely a display problem? If so, once you have converted it to a
string you can use the trim function to remove whitespace.
dataRow["COLUMN_NAME"].ToString().Trim()
If it isn't a display problem please try to be a little more specific.
Hope that helps
--
There are only 10 types of people in the world. Those that understand
binary and those who don't.
"Nick B" wrote:
I'm trying to do a select on a column where the cell values in the column are
padded with whitespace, is there a simple way to have the select expression
ignore the whitespace?
Thanks in advance,
Nick