第1楼 2007-05-28 19:52 navylast 写道:
求JSP高手帮忙
<%//====================================
Statement stmtArticle=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
String sqlArticle="Select * from tArticle where fClassID="+ ClassXClassID +" order by fUpdateTime DESC";
ResultSet RsArticle=stmtArticle.executeQuery(sqlArticle);
int i=0;
while (RsArticle.next()&& i<4)
{
i++;
int ArticleID = RsArticle.getInt("fArticleID");
String ArticleTitle=RsArticle.getString("fTitle");
%>
以上这段代码成功运行 现在我想让ArticleTitle的宽度恒定为10,请问怎么修改?