if(DBComboBox1->Text!="")
S=" Sspeciality like %"+DBComboBox1->Text+"%”:
if(DBComboBox2->Text!="")
if(S!="")
S= S+" and Sclass like %"+DBComboBox2->Text+"%”: else
S=" Sclass like '%"+DBComboBox2->Text+"%”‘;
if(S!="")
S="select * from stude nt where"+S+" order by Sscore desc "; else
S="select * from stude nt order by Sscore desc " cjcxQuery->Close();
cjcxQuery->SQL->Clear();
cjcxQuery->SQL->Add(S); cjcxQuery->Ope n();
搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新经管营销学生综合测评信息系统的设计与开发学习资料(6)全文阅读和word下载服务。
相关推荐: