问题描述
再一次,大家好,我在这里遇到了另一个问题.我创建了一个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到文本框问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!