无法将GridView转换为DataList [英] Unable to cast GridView to DataList

查看:77
本文介绍了无法将GridView转换为DataList的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在gridview中绑定datalist时面临这个问题(无法将'System.Web.UI.WebControls.GridView'类型的对象强制转换为''System.Web.UI.WebControls.DataList''。)

when am binding datalist in gridview facing this problem (Unable to cast object of type ''System.Web.UI.WebControls.GridView'' to type ''System.Web.UI.WebControls.DataList''.)

推荐答案

[这不是问题,应该删除。 - SA]



可以附上你的密码







来解决问题
[This is not a question, should be removed. — SA]

can u attach ur code



to resolve the problem


这篇关于无法将GridView转换为DataList的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆