在一个组合框中绑定两列 [英] bind two column in a single combobox
本文介绍了在一个组合框中绑定两列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将combox与列绑定
,我想在一个组合框中绑定两列。这可能吗。请帮助..
how can i bind combox with a column
and i want to bind two column in a single combobox. is this possible. help please..
推荐答案
你的意思是两列,例如。学生姓名和年龄?
然后制作一个Sql脚本并绑定它.....
例如
you mean two columns eg. StudentName and Age Right ?
Then Make a Sql Script and bind it .....
Eg.
SELECT stu_Name +' [' + Age +']' as Student, Stu_ID from TableName
ORDER by Student
这篇关于在一个组合框中绑定两列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文