如何通过使用自动生成按钮,在网格视图中使用帮助单事件Row命令事件链接按钮来实现插入,更新,删除示例? [英] How to Implement Insert,Update,Delete example by using Auto generate buttons,link buttons with help single event Row command event in the Grid-view?

查看:79
本文介绍了如何通过使用自动生成按钮,在网格视图中使用帮助单事件Row命令事件链接按钮来实现插入,更新,删除示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅使用Row命令事件

推荐答案

创建ASP.NET WebForm应用程序,在ASPX页面中插入gridview元素,右键单击gridview并选择数据源,然后为现有数据库的gridview创建一个新的数据源。

创建数据源时,可以选择为gridview创建CRUD操作,需要在成功测试连接后选择该选项。

有两个复选框可以点击第一个用于添加CRUD功能的复选框。



希望这会有所帮助
Create an ASP.NET WebForm application, in an ASPX page insert a gridview element, right click on the gridview and select datasource and then create a new data source for your gridview of existing database.
When you create the datasource there are options for creating CRUD operations for the gridview, you need select the option after testing the connection successfully.
There are two checkboxes you can click the first one for adding CRUD functionalities.

Hope this will help


这篇关于如何通过使用自动生成按钮,在网格视图中使用帮助单事件Row命令事件链接按钮来实现插入,更新,删除示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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