将数据绑定到Gridview中的文本框并保存到数据库 [英] Binding Data to Textbox in Gridview and Saving to Database

查看:51
本文介绍了将数据绑定到Gridview中的文本框并保存到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将数据从文本框绑定到gridview,然后将其存储在数据库中.

I want to bind data to gridview from textbox and then store that data in a database.

推荐答案

首先,我想您必须在特定位置复制文本框值网格的行和列,然后应提供一个按钮,用于将所有更改的网格行和列发送到数据库.
first i guess you have to duplicate the textbox value in specific row and column of grid, then should provide with a button that sends all changed grid rows and columns to database.


这篇关于将数据绑定到Gridview中的文本框并保存到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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