String vc_tbname="select vc_tbname from t_column where lmbh="+cataId; //多表联查
String sql="select vc_id,lrdate from t_wry_import_log where tbname=("+vc_tbname+") order by lrdate desc";
String[][] list=null ;
list = Manager.doQuery("1", sql);
String strHtml="";
for(int i=0;i<list.length;i++){
strHtml+="<option value=\""+list[i][0]+"\">"+list[i][1]+"</option>";
} //查出来的是数组 +list[i][0]+表示导入记录ID +list[i][1]+表示导入时间
+"<td> 导入记录:</td><td><select id=\"vc_id\" name=\"vc_id\"> <option value=\"\">--请选择--</option>"+strHtml+"</select></td><td> " //一个下拉框 从数据库查询到值显示到框里