S
smeagol
I have a varchar 255 field in the Sql.
When i get the data with (string)myReader["buffer"];
it's trimed
ie(
SQL : "qwerty " (Lenght 255)
c# : (string)myReader["buffer"].Lenght; (=5)
It's possible to get
(string)myReader["buffer"].Lenght; (=255)
Of course a trick is to use PADL with SPACE
But anyway to do it wihout PADL?
Thanks,
When i get the data with (string)myReader["buffer"];
it's trimed
ie(
SQL : "qwerty " (Lenght 255)
c# : (string)myReader["buffer"].Lenght; (=5)
It's possible to get
(string)myReader["buffer"].Lenght; (=255)
Of course a trick is to use PADL with SPACE
But anyway to do it wihout PADL?
Thanks,