This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / VB: 请问如何在VB中设定一个数组K,这个K含有一组数据,如:名字xxx,年龄XX, 工资xxxx, 工作时间xx年..然后使用Combox选一下
后面的值就可以显示在屏幕上(Text Box)?(VB初初级ing...)
-goodgoodstudying(daydayup);
2002-12-22
(#930438@0)
-
没看明白您要干什么
-hugefox(长得象熊的狐狸);
2002-12-22
(#930579@0)
-
自己建一个TYPE好了。Private Type typEmployee
name as String
age as Integer
salary as Currency
workYears as Integer
End Type
Dim arrEmployees( ) as typEmployee
............
然后赋值就好了,如:
arrEmployees(1).name = "xxx"
arrEmployees(1).age = xx
其它的不用说了吧?
-guestagain(guest again);
2002-12-22
{295}
(#930703@0)
-
就是它, 谢乐!
-goodgoodstudying(daydayup);
2002-12-22
(#930838@0)