Hi,
I have a varchar data type field in my SQL table (MS SQL 2005). set to 50 characters, now if i place a value of "bob" when i retrieve the value thru a dataset it is retrieveing the value and padding in the other 47 available characters back and i am having to keep useing the trim command to trim it down to just the 3 characters into a varaible for "Bob". Is there a way around this so in vb.net i get just my value "Bob" as apposed to "Bob................"
thanks
Start Free Trial