hello .. I have a database running on MS SQL 2000 , im loading data into a dropdown list , or a datagrid .. using sqldataapater with the following sql command :
"select * from category"
catcode = int 4 - primary code
catdesc = char 100
once loaded on a datagrid or combo box , ive noticed i get trailing spaces at the end of all my catdesc,
populating the combobox would result in the last part of the record being displayed ..
Original Record : " Computer Parts"
Displayed Record on the dropdown ; "uter Parts"
but if you click down the drop down list , you would see the correct data , so it is only having problem when displaying the selected item .. any suggestion would be highly appreciated .. thanks ...
"select * from category"
catcode = int 4 - primary code
catdesc = char 100
once loaded on a datagrid or combo box , ive noticed i get trailing spaces at the end of all my catdesc,
populating the combobox would result in the last part of the record being displayed ..
Original Record : " Computer Parts"
Displayed Record on the dropdown ; "uter Parts"
but if you click down the drop down list , you would see the correct data , so it is only having problem when displaying the selected item .. any suggestion would be highly appreciated .. thanks ...