【发布时间】:2009-03-17 07:56:53
【问题描述】:
我已经使用了这个代码。它显示一个错误: 暗淡的行 As GridViewRow = CType(CType(e.CommandSource, Control).NamingContainer, GridViewRow)
报错如下:
FFK.DLL 中出现“System.InvalidCastException”类型的异常,但未在用户代码中处理
附加信息:无法将“System.Web.UI.WebControls.ContentPlaceHolder”类型的对象转换为“System.Web.UI.WebControls.GridViewRow”类型。
【问题讨论】:
标签: vb.net