如何检索gridview行并显示到文本框中 [英] how to retrive the gridview row and display into the textbox

查看:105
本文介绍了如何检索gridview行并显示到文本框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Gridview如下



下拉备注



0不需要

1未给出





课程在多大程度上有用Dropdownlist1 0

用户友好的课程Dropdownlist2 1

实际可行的Dropdownlist3 2





当我点击该Dropdownlist1中的Dropdownlist1时在那里,当我从Dropdownlist1弹出屏幕中选择穷人时将会打开。



在弹出屏幕中有一个文本框。



在该文本框中我想显示不需要(来自Gridview)





for that怎么样我在c#中使用asp.net。





问候,

Narasiman P.

Gridview as follows

Dropdown Remark

0 Not Needed
1 Not Given


To what extent course is useful Dropdownlist1 0
To what course is user frndly Dropdownlist2 1
To what practicals are realistic Dropdownlist3 2


When i click the Dropdownlist1 in that Dropdownlist1 poor is there, when i select the poor from the Dropdownlist1 popup screen will be open.

In that popup screen one textbox is there.

in that textbox i want to display Not Needed (from the Gridview)


for that how can i do using asp.net in c#.


Regards,
Narasiman P.

推荐答案

只需在下拉列表的SelectedIndexChanged事件中绑定该文本框
Simply bind that text box on SelectedIndexChanged event of dropdown


这篇关于如何检索gridview行并显示到文本框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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