如果我在Combobox中选择Id,如何检查人的特定细节 [英] How To Check Particular Details Of Person If I Select Id In Combobox

查看:57
本文介绍了如果我在Combobox中选择Id,如何检查人的特定细节的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已完成学校管理系统项目,在这个系统中,学生必须支付三个学期的费用。他必须支付他的第一学期费用,如果我从组合框中选择id,他将来支付他的第二个学期它应该像这样显示

第一项费用必须由......支付。

如何做到这一点(windows表格应用程序在c#.net,sql server2008r2,它是桌面应用程序)

i尝试以下代码但显示错误

I have done school management system project ,in this system student has to pay his fee in three terms .he had to pay his first term fees ,and he will come to pay his second term now if i select id from combo box it should display like this
"the first term fee has to be paid by ...."
how to do this(windows forms applications in c#.net,sql server2008r2 and it is desktop application )
i was try the following code but it display error

if ("select term_number from term_fee_details where admin_no='" + comboBox2.Text + "' and term_number='first term'")
                    {                        MessageBox.Show("First term fee has paid");                   }





谢谢



thank you

推荐答案

先生,抱歉粗鲁但是那是什么样的条件?只是一个字符串?我们无法帮助您,直到您决定在哪个平台上构建软件。我要求您重新构建问题以便能够得到答案。
sir, sorry to be rude but what kind of if condition is that? just a string? and we cant help you till you decide in which platform you are building your software. i request you re-frame your question to be able to get answered.


这篇关于如果我在Combobox中选择Id,如何检查人的特定细节的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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