[C#]在GridView1_DataBound()中使用e.Row时出现错误.为什么 ? [英] [C#] I get error to use e.Row in GridView1_DataBound(). Why ?

查看:130
本文介绍了[C#]在GridView1_DataBound()中使用e.Row时出现错误.为什么 ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https://msdn.microsoft.com/zh-tw/library/system.web.ui.webcontrols.gridview.rowdatabound(v=vs.110).aspx

在GridView1_DataBound()中使用e.Row时出现错误.为什么?

它说EventArgs不包括Row的定义.

非常感谢您.


********************孔子说:问有三种不懂则问;虽懂而有疑惑则问;虽懂而想更了解则问; ********************

解决方案

最棒,

谢谢您在这里发布.

如果您的问题与Web表单更相关,则可以在ASP.NET https://msdn.microsoft.com/zh-tw/library/system.web.ui.webcontrols.gridview.rowdatabound(v=vs.110).aspx

I get error to use e.Row in GridView1_DataBound(). Why ?

It said EventArgs does not include definition of Row.

Thank you very much.


******************** 孔子說:問有三種 不懂則問; 雖懂而有疑惑則問; 雖懂而想更了解則問; ********************

解决方案

Hi luicst,

Thank you for posting here.

If your question is more related to web form, you could post a new thread in ASP.NET Web Forms.

The C# forum discuss and ask the C# language, IDE, libraries, samples and tools.

If you have some grammar or code errors, please feel free to contact us. We will try our best to give you a solution.

Thanks for your understanding and cooperation.

Best Regards,

Wendy


这篇关于[C#]在GridView1_DataBound()中使用e.Row时出现错误.为什么 ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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