日期:2014-05-18  浏览次数:20440 次

gridview中的imagefield问题,谢谢。
我在编辑列的时候,增加一个imagefield,在他的属性DataAlternateTextField中设置了数据中存放图片路径的字段,

结果发布页面的时候,图片路径后面多了一串字符。

这样:http://localhost:23904/test/images/01.gif%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20

正常应该是:http://localhost:23904/test/images/01.gif

------解决方案--------------------
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20
这都代表空格啊