在开始登录时,定义一个用户名的游标
string user;
//定义一个游标
DECLARE curs CURSOR FOR
SELECT username FROM admininfo;
OPEN curs;
do while sqlca.sqlcode=0
FETCH curs INTO :user;
ddlb_1.AddItem(user);
loop
close curs;
在开始登录时,定义一个用户名的游标
string user;
//定义一个游标
DECLARE curs CURSOR FOR
SELECT username FROM admininfo;
OPEN curs;
do while sqlca.sqlcode=0
FETCH curs INTO :user;
ddlb_1.AddItem(user);
loop
close curs;