GridView到文本框问题 [英] Gridview to textbox problem

查看:73
本文介绍了GridView到文本框问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

再一次,大家好,我在这里遇到了另一个问题.我创建了一个gridview,其中selection设置为true.现在我的问题是我希望当我从网格视图中选择该记录时,所有数据都将发送到其预期的文本框中.
示例:
第一列是标题将发送到textbox1
第二列是名称将发送到textbox2

当我单击按钮[修改]时,将根据我在特定文本框中输入的内容来更改网格的所选记录.

可能吗.是否有关于此的任何教程.谢谢,还有更多功能.

Hi again guys, ive got another problem here. Ive created a gridview where selecting is set to true. Now my problem is that I want that when I select that record(from the gridview) all the data will be sent to their prespective textbox.
Example:
column one is title will be sent to textbox1
column two is name will be sent to textbox2

and when i click the button[modify] the selected record of the grid will be change based on what i input on the specific textbox.

Is it possible. Is there any tutorial regarding this. Thanks and more power.

推荐答案

尝试这些链接

编辑,更新,取消Gridview [编辑,更新,取消Gridview Link2 [ ^ ]
try those Link

Editing,Update,Cancel Gridview[^]

Editing,Update,Cancel Gridview Link2 [^]


这篇关于GridView到文本框问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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