因为GridView的列数不固定,是查询数据库后自动生成的,不能用声明方式设置boundfield 的htmlencode="true",请问如何在代码中设置?谢谢了!