X
xiaotianwangzi
Unregistered / Unconfirmed
GUEST, unregistred user!
怎么从下面的语句中取得字段sum1的值
String sql2=new String();
sql2="select sum(sfje) as [sum1] from rs_ygzxx where bmbh='"+bmbh2+"'";
ResultSet rs1=flh.executeQuery(sql2);
Double sss=rs1;
String sql2=new String();
sql2="select sum(sfje) as [sum1] from rs_ygzxx where bmbh='"+bmbh2+"'";
ResultSet rs1=flh.executeQuery(sql2);
Double sss=rs1;