![]() |
#2
dzt00012010-11-29 10:49
|
下拉菜单获取数据库其中一个表的数据,另外一个表保存的值与这个表关联了,现在要读取该值并在下拉菜单中显示出来
我写了一段这样的代码
Response.Write " <option value='"&grs(0)&"' if grs(0)=rs(1) then selected end if> "&grs(1)&" </option> "
但是显示出来的数据不是数据库里保存的值,而是最后的那个值
请问哪位能指导一下吗