//使用数据库中的民族信息初始化民族下拉框
for i=1 to count
tab_info.tabpage_jb.ddlb_mz.additem(ds_emp_tmp.object.nation_desc[i])
Next
//初始化职务信息下拉框
ds_emp_tmp.dataobject = "dw_title"
ds_emp_tmp.settransobject(sqlca)
count = ds_emp_tmp.retrieve()
tab_info.tabpage_work.ddlb_title.reset()
for i=1 to count
tab_info.tabpage_work.ddlb_title.additem(ds_emp_tmp.object.title_desc[i])
Next
//初试化职称信息下拉框
ds_emp_tmp.dataobject = "dw_level"
ds_emp_tmp.settransobject(sqlca)
count = ds_emp_tmp.retrieve()
tab_info.tabpage_work.ddlb_level.reset()
for i=1 to count
tab_info.tabpage_work.ddlb_level.additem(ds_emp_tmp.object.lev_desc[i])
Next
//初始化部门信息下拉框
ds_emp_tmp.dataobject = "dw_dept"
ds_emp_tmp.settransobject(sqlca)
count = ds_emp_tmp.retrieve()
tab_info.tabpage_work.ddlb_dept.reset()
for i=1 to count
tab_info.tabpage_work.ddlb_dept.additem(ds_emp_tmp.object.dept_name[i])
Next
//初始化状态信息下拉框
ds_emp_tmp.dataobject = "dw_status"
ds_emp_tmp.settransobject(sqlca)
count = ds_emp_tmp.retrieve()
ddlb_zt.reset()
for i=1 to count
ddlb_zt.additem(ds_emp_tmp.object.status_desc[i])
Next
//初始化性别信息下拉框
ds_emp_tmp.dataobject = "dw_sex"
ds_emp_tmp.settransobject(sqlca)
count = ds_emp_tmp.retrieve()
ddlb_xb.reset()
毕业论文http://www.Lwfree.cn/ 论文网http://www.751com.cn/"
ds_emp_tmp.settransobject(sqlca)
count = ds_emp_tmp.retrieve()
tab_info.tabpage_jb.ddlb_political.reset()
for i=1 to count
tab_info.tabpage_jb.ddlb_political.additem(ds_emp_tmp.object.poli_desc[i])
Next
//初始化婚姻信息下拉框
ds_emp_tmp.dataobject = "dw_marriage"
ds_emp_tmp.settransobject(sqlca)
count = ds_emp_tmp.retrieve()
tab_info.tabpage_jb.ddlb_marriage.reset()
for i=1 to count
tab_info.tabpage_jb.ddlb_marriage.additem(ds_emp_tmp.object.marriage_desc[i])
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]