03 2012 档案
摘要:System.Web.HttpContext.Current.Server.MapPath
阅读全文
摘要:一、using System.Web.SessionState;二、类实现IRequiresSessionStatepublic class DoAjax : IHttpHandler,IRequiresSessionState{}完成以上两步就可以正常使用Session了。
阅读全文
摘要:在insert语句中需要插入查询出来的值。 Insert into a (a1,a2,a3) values (1,select num from b where id=1,3) 这样写就出现了“在此上下文中不允许使用子查询。只允许使用标量表达式。”这个错误可以这样: insert into a (a1,a2,a3) select 1,num,3 from b where id=1 即可解决问题.
阅读全文
摘要:delete from 表名 where 字段名 is null
阅读全文
浙公网安备 33010602011771号