下拉列表与文本框级联 [英] dropdown list cascade with textbox

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

问题描述

嗨..

我的问题是当我们从下拉列表中选择项目然后自动显示从ddl中选择的项目的价格..?



ddl [ - 项目名称 - ]文本框[ - 选择项目价格 - ]

解决方案

添加选定的索引更改事件 [ ^ ]到您的ddl,您可以从 ddl.SelectedItem.Value

hi..
My question is when we select the item from drop down list then automatically it display the price of the item selected from ddl..?

ddl[--item name--] textbox[--selected item price--]

解决方案

Add selected index changed event[^] to your ddl and you can set the text box text on that event from the ddl.SelectedItem.Value


这篇关于下拉列表与文本框级联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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