行仅使用asp.net编辑并保存在gridview中,而不是数据库 [英] Rows edit and save in gridview only but not database using asp.net

查看:76
本文介绍了行仅使用asp.net编辑并保存在gridview中,而不是数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,我对gridview有要求,我将数据表绑定到gridiview并仅在gridview中编辑和保存行,但不在数据库中。如何在asp.net中做这个要求



请任何人帮帮我.......

Hi friends , i have requirement on gridview , i bind the datatable to gridiview and edit and save the rows in gridview only but not in database. How can do this requirement in asp.net

Please any one help me.......

推荐答案

从gridview获取值并将其保存到数据表中。然后用该数据表而不是数据库源重新绑定网格。
Get the values from gridview & save it to a datatable. Then rebind the grid with that datatable instead of database source.


这篇关于行仅使用asp.net编辑并保存在gridview中,而不是数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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