如何从另一个下拉列表中的1下拉列表中获取相同值的选定值 [英] how to get selected value from 1 drop down list in another dropdownlist for same values

查看:88
本文介绍了如何从另一个下拉列表中的1下拉列表中获取相同值的选定值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个表类别n子类别...我想要编辑子类别时遇到问题,,,我想在编辑子类别时获取下拉列表中所选类别的值....

catid是类别表的外键。

i希望在editsubcategory页面中选择类别的值以及所有剩余值

解决方案

< blockquote>然后你必须在 Session 中存储选定的 Category 值,并在编辑时访问 Sub Category 页面。

i have 2 tables Category n subcategory...m getting problem while i want to edit subcategory,,,i want get the selected value of category which is in dropdownlist while editing subcategory....
catid is a foreign key to category table.
i want to get tyhe selected value of category in editsubcategory page along with all remaining values

解决方案

Then you have to store selected Category value in Session and access that in Sub Category Page while editing.


这篇关于如何从另一个下拉列表中的1下拉列表中获取相同值的选定值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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