如何从网格视图中删除记录并更新数据库. [英] How to delete the record from the grid view and update the database.

查看:98
本文介绍了如何从网格视图中删除记录并更新数据库.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人...

我是编程新手.

请在我作为后端在C#和SQL Server中面临的以下问题中帮助我.

1)如何从网格视图中删除记录并更新数据库.

2)如何刷新gridview.

3)如何更新gridview


请同样帮我.


谢谢...

Dear All...

I am new to programming..

please help me in the following problem which i am facing in C# and SQL server as backend.

1) How to delete the record from the grid view and update the database.

2) How to refresh the gridview.

3) how to update the gridview


please help me for the same..


Thanks...

推荐答案

尝试以下链接
这很容易理解.........

使用Gridview插入,更新,删除...简单方法 [ ^ ]
Try the following link
this is a simple to understand.........

Insert, Update, Delete with Gridview ... Simple Way[^]


http://www.dotnetfunda.com/articles/article29.aspx [ ^ ]

在ASP.NET Gridview中插入,更新,删除,将数据源作为SQL服务器,MS Access(mdb/accdb),XML和Framework为2.0/3.0/3.5/4.0(VS 2005/2008/2010) [
http://www.dotnetfunda.com/articles/article29.aspx[^]

Insert, Update, Delete in ASP.NET Gridview, DataSource as SQL Server, MS Access (mdb/accdb), XML and Framework as 2.0 / 3.0 / 3.5 / 4.0 (VS 2005/2008/2010)[^]


http://weblogs. asp.net/manojkdotnet/archive/2009/10/11/insert-update-and-delete-using-grid-view-and-objectdatasource.aspx [

这篇关于如何从网格视图中删除记录并更新数据库.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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