当前位置: 技术问答>java相关
:[Microsoft][ODBC SQL Server Driver]无效的描述符索引 如何解决?
来源: 互联网 发布时间:2015-04-18
本文导语: 源代码: String ElectiveName = rs.getString("ElectiveName"); out.println(ElectiveName); String ElectiveNo = rs.getString("ElectiveNo"); out.println(ElectiveNo); String CreditHour = rs.getString("CreditHour"); out.println(CreditHour); String Teache...
源代码:
String ElectiveName = rs.getString("ElectiveName");
out.println(ElectiveName);
String ElectiveNo = rs.getString("ElectiveNo");
out.println(ElectiveNo);
String CreditHour = rs.getString("CreditHour");
out.println(CreditHour);
String TeacherName = rs.getString("TeacherName");
out.println(TeacherName);
String Academy = rs.getString("Academy");
out.println(Academy);
结果:
Unix操作系统 0000001 3 陈建中 [Microsoft][ODBC SQL Server Driver]无效的描述符索引
这是为什么?我用的是Sql2000是不是数据库设计问题?谢谢!
String ElectiveName = rs.getString("ElectiveName");
out.println(ElectiveName);
String ElectiveNo = rs.getString("ElectiveNo");
out.println(ElectiveNo);
String CreditHour = rs.getString("CreditHour");
out.println(CreditHour);
String TeacherName = rs.getString("TeacherName");
out.println(TeacherName);
String Academy = rs.getString("Academy");
out.println(Academy);
结果:
Unix操作系统 0000001 3 陈建中 [Microsoft][ODBC SQL Server Driver]无效的描述符索引
这是为什么?我用的是Sql2000是不是数据库设计问题?谢谢!
|
你按照我的方法试一下看看