摘要:
$(xml).each(function(){}); 在IE下无法识别 原因是JQuery本身的bug,解决方法是:xml必须为XML格式,比如.ajax() 方法时设置返回类型是xml,并且xml的根节点必须是<xml> 阅读全文
posted @ 2011-02-25 17:26
Marvel
阅读(296)
评论(0)
推荐(1)
摘要:
在用SqlCommand执行sql操作时,如果想插入null值,例如 string str = "null"; SqlCommand cmd = new SqlCommand(); cmd.CommandText = "select * from A where id=@id"; cmd.Parameters.AddWithValue("@id", str);str=null;或者str=”nul... 阅读全文
posted @ 2011-02-25 10:56
Marvel
阅读(454)
评论(0)
推荐(0)

浙公网安备 33010602011771号