需要使用dropdownlist数据值来测试条件,然后执行更新查询 [英] dropdownlist data value need to be used to test condition then doing update query

查看:87
本文介绍了需要使用dropdownlist数据值来测试条件,然后执行更新查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好先生,

我有一个问题.我有一个下拉列表,该下拉列表已使用以下某些条件填充:

1)仅针对zone_type = 25填充zone_num,并且如果exlude_at_ass = n则可填充,并下拉列表显示zone_num field:conveyable.
2)如果exclude_at_ass = y,则应显示zone_num:nonconveyable

在dropdownlist中填充datavalue后

一个人将选择可传输或不可传输的字段.

当与perticulor的perticulor可传递字段,与zone_type和exxclude_at_ass相关的zone_num字段相关联时,应更新temp_control = n

当perticulor与zone_type和exxclude_at_ass相关perticulor zone_num字段相关联nonconveyable场中选择应该更新temp_control = Y.


我无法构建逻辑,所以请帮我

hello sir,

i have one problem.i have one dropdownlist which has been populated by using some condition which is are as follows:

1)zone_num has to be populated only for zone_type=25 and if exlude_at_ass=n then it is conveyable and drop downlist show zone_num field:conveyable.
2)if exclude_at_ass=y then it should show zone_num:nonconveyable

after populating datavalue in dropdownlist

a person will select conveyable or non conveyable field .

when perticulor conveyable field associated with perticulor zone_num field associated with zone_type and exxclude_at_ass is selected it should update temp_control=n

when perticulor nonconveyable field associated with perticulor zone_num field associated with zone_type and exxclude_at_ass is selected it should update temp_control=y.


i''m not able to build logic so please help me out

推荐答案

您无法用C编程ASP.NET.您是说C#吗?

我无法发表你的文章的开头或结尾.您也许应该尝试将其绘制为流程图,然后从那里进行编码?
You cannot program ASP.NET in C. Did you mean C# ?

I can''t make head or tail of your post. You should perhaps try to draw it as a flow chart, and code it from there ?


我只希望使用c#的asp.net代码
i want the asp.net code in c# only


这篇关于需要使用dropdownlist数据值来测试条件,然后执行更新查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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