具有下拉控件的CASE STATEMENT [英] CASE STATEMENT with a drop down control
本文介绍了具有下拉控件的CASE STATEMENT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请更正有关下拉任务的案例陈述。
不工作
Please correct the case statement with regards to the drop down assignment.
its not working
protected void txt_Term_Month_TextChanged(object sender, EventArgs e)
{
//local variable definition
char mpayment = ddl_Payment_Type;
switch (mpayment)
{
case "SIMPLE INTEREST" :
case "CONVENTIONAL EQUATED" :
}
}
推荐答案
看看如何编写案例陈述。
请记住,c#是区分大小写的语言。
希望它有所帮助。
Hi,
Have a look at how to write a case statement.
Keep in mind that c# is a case sensitive language.
Hope it helps.
这篇关于具有下拉控件的CASE STATEMENT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文