HTTP 404 错误 的具体意思是什么

HTTP 404 错误 的具体意思是什么,第1张

估计是你的这句出问题了
string reser = ((TextBox)GridView_reserveinfoRows[eRowIndex]Cells[2]Controls[0]FindControl("txtReserveman"))TextToString()Trim();
Cells[2]有没有两列?Cells[2]里有没有控件
最好还是判断下CellsLenght与ControlsLenght
如:
TextBox tb = GridView_reserveinfoRows[eRowIndex]Cells[2]Controls[0]FindControl("txtReserveman")) as TextBox
if(tb != null)
string reser = tbText


欢迎分享,转载请注明来源:内存溢出

原文地址: http://www.outofmemory.cn/zz/13457885.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-08-10
下一篇 2023-08-10

发表评论

登录后才能评论

评论列表(0条)

保存