摘要:
我不想用midas,而是在三层com+中,使用ado recordset查询数据。更新时,少数情况使用recordset来batchupdate;多数情况下,自己生成sql通过ado connection发往后台数据库(sql server 2000)。 我这样做的主要考虑是:recordset可以被用于asp(.net)网页应用程序中 请问各位达人,这样做有什么缺陷?
......
摘要:
选中左边框中的一个人名点击添加按钮到右边的框中(双击该人名也可实现),反之, 选中右边框中的一个人名点击去除按钮到左边的框中(双击该人名也可实现),最后, 点击确定按钮alert出右边框中的值,并且用逗号分开(如3,2) <form name="form1" method="post" action=""> <t......
null的问题
遇到一个问题:
rs.getString("xxx")==null可以
rs.getString("xxx").equals("null")报错nullpoint exception
不知为何?==和equals有何区别,字符串不是都用equals吗?
NO.1 作者: kypfos
rs.getString("xxx")==null 比较可以
rs.getString("xxx").equals("null")
因为rs.getString("xxx")为null,null是不能进行equals()等任何操作
何况你也是和字符串"null"比较
null和"null"是不一样的。
摘要:
一般我们在web里面写下 <init-param> <param-name>config</param-name> <param-value>/web-inf/struts-config.xml</param-value> </init-param> 其中 <param-value>/web-inf/str......