我有2个下拉列表和1个文本框当我选择第一个下拉列表它过滤第二个下拉列表当我选择第二个下拉列表我想要文本框中项目的价格那么我该怎么办 [英] I Have 2 Dropdownlist And 1 Textbox When I Select First Dropdownlist It Filter The Second Dropdownlist And When I Select Second Dropdownlist I Want That Price Of The Item In Textbox So What Can I Do

查看:77
本文介绍了我有2个下拉列表和1个文本框当我选择第一个下拉列表它过滤第二个下拉列表当我选择第二个下拉列表我想要文本框中项目的价格那么我该怎么办的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究我在冰淇淋配送中心的项目

i有2个下拉列表首先用于冰淇淋口味类型,第二个用于冰淇淋口味名称当我选择风味类型时我获得所有值在第二个下拉列表中风味名称,当我选择风味名称时,该冰淇淋的价格来自数据库的文本框,所以我能做什么

i am working on my project on ice cream distribution center
i have 2 dropdownlist first for ice cream flavour type and second for ice cream flavour name when i select flavour type i get all values in second dropdownlist flavour name and when i select flavour name the price of that ice cream is come in textbox from database so what can i do

推荐答案

这在asp中称为级联下拉列表。净。请对级联下拉列表进行自己的研究。以下是一些练习自己的样本



http://www.aspsnippets.com/Articles/AJAX-Cascading-DropDown-Example-in-ASPNet.aspx [ ^ ]

将CascadingDropDown与数据库一起使用 [ ^ ]

http://demos.telerik.com/kendo-ui/dropdownlist/cascadingdropdownlist [ ^ ]
This is called cascading drop downlist in asp.net. Please do your own reasearch on cascading drop downlists. And here are some samples to practice your self

http://www.aspsnippets.com/Articles/AJAX-Cascading-DropDown-Example-in-ASPNet.aspx[^]
Using CascadingDropDown with a Database[^]
http://demos.telerik.com/kendo-ui/dropdownlist/cascadingdropdownlist[^]


这篇关于我有2个下拉列表和1个文本框当我选择第一个下拉列表它过滤第二个下拉列表当我选择第二个下拉列表我想要文本框中项目的价格那么我该怎么办的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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