获取参数

[ 2004-09-09 01:02:37 | Author: zhenhua ]
Font Size: Large | Medium | Small
<%
 String test = ds.getString("TEST");
 String color = "black";
 if(iserror.equals("1")){
 color = "red";
}
%>
<%=color%>


判断开头字符:
startsWith 代替equals
Comments Feed Comments Feed: http://www.zhenhua.org/feed.asp?q=comment&id=172
UTF-8 Encoding Trackback URL: http://www.zhenhua.org/trackback.asp?id=172

There is no comment on this article.

If you feel this site you find this information helpful, please click on the donation, which is voluntary,Thank you.
Post Comment
Smilies
[arrow] [biggrin] [confused] [cool]
[cry] [eek] [evil] [exclaim]
[frown] [idea] [lol] [mad]
[mrgreen] [neutral] [question] [razz]
[redface] [rolleyes] [sad] [smile]
[surprised] [twisted] [wink]
Enable UBB Codes
Auto Convert URL
Show Smilies
Hidden Comment
Username:   Password:   Register Now?
Security Code * Please Enter the Security Code