|
方法一: protected void gv_RowCommand(object sender, GridViewCommandEventArgs e) } } } 方法二: protected void GridViewSearchResult_RowCreated(object sender, GridViewRowEventArgs e) |
获取GridView的EmptyDataTemplate中的控件
最新推荐文章于 2015-12-03 16:25:00 发布
本文介绍了一种使用ASP.NET中的GridView控件进行数据插入的方法,并展示了如何在GridView为空时显示自定义提示信息。首先通过RowCommand事件实现数据的新增功能,接着利用RowCreated事件定制空数据行的表现。
334

被折叠的 条评论
为什么被折叠?



