Forum Moderators: open
ObjectDataSource has method Datatable Select() and datatable has field images.
proplem is size of field images is 50, but data is lessthan (ex: pic1.jpg)
when it bound to <asp:ImageField is contain blank (ex: pic1.jpg____) so it can't display image on ImageField.
How can i use Trim() method at DataImageUrlFormatString
anyone can help me to solve this problem?
thanks
To fix it when you databind to the gridview you may have to override the OnDataBound event to look at the data in the field and then trim it.
[edited by: TheNige at 8:02 pm (utc) on Mar. 6, 2007]