更新和删除没有数据库的gridview [英] update and delete gridview without database

查看:78
本文介绍了更新和删除没有数据库的gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,我希望更新和删除gridview数据值,无论是usidabase

sir i want update and delete gridview data value witout usidabase

推荐答案

首先,使用集合,即Array,List作为数据源。

请参阅此内容,

http:// www.aspsnippets.com/Articles/Binding-Arrays-to-GridView-in-ASP.Net.aspx [ ^ ]

http://www.aspdotnet-suresh.com/2010/12/v-behaviorurldefaultvmlo_21.html [ ^ ]



然后,就像使用数据库一样,对集合执行更新删除。

http://www.aspsnippets.com/Articles/GridView-CRUD-Select-Insert-Edit-Update-Delete-using -Single-Stored-Procedure-in-ASPNet.aspx [ ^ ]

http://www.aspsnippets.com/Articles/AJAX-CRUD-operations-创建 - 读取 - 更新 - 并删除 - 使用GridView-in-ASPNet.aspx [ ^ ]



-KR
First, use collection i.e Array, List as a datasource.
Refer this,
http://www.aspsnippets.com/Articles/Binding-Arrays-to-GridView-in-ASP.Net.aspx[^]
http://www.aspdotnet-suresh.com/2010/12/v-behaviorurldefaultvmlo_21.html[^]

And then, perform the update delete on collection just like you do using the database.
http://www.aspsnippets.com/Articles/GridView-CRUD-Select-Insert-Edit-Update-Delete-using-Single-Stored-Procedure-in-ASPNet.aspx[^]
http://www.aspsnippets.com/Articles/AJAX-CRUD-operations-Create-Read-Update-and-Delete-using-GridView-in-ASPNet.aspx[^]

-KR


这篇关于更新和删除没有数据库的gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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