01 2014 档案
摘要:using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.IO;public partial class _Default : System.Web.UI.Page{protec
阅读全文
摘要:asp.net判断服务器上的目录或文件是否存在!(实例)// ======================================================= 【判断文件是否存在】[csharp]view plaincopyusingSystem.IO;//还需要命名空间,别忘了[csharp]view plaincopyif(System.IO.File.Exists("c:\\aaa.txt"))//注意双引号路径应为双斜杠{//##########有aaa.txt文件!}// =======================================
阅读全文
摘要:随着.NET的推出,微软引入了一套新的通讯技术:Web Services和.NET remoting。.NET remoting和ASP.NET Web Services可以为建立分布式的应用提供强有力的支持。因此,为了在我们的应用程序中选择合适的技术,充分理解这两种技术的工作原理是非常必要的。 Web Service技术使用了HTTP、XML和SOAP技术进行通讯,因此,Web Service是跨平台的和真正的跨越防火墙的B2B应用集成技术。由于Web Services需要依赖商业标准在Internet上提供服务,因此,这种技术是语言、平台和设备独立的。Remoting技术可以允许程序和软件
阅读全文
摘要:Oracle修改表中记录时出现record is locked by another user的问题在操作表时没有commit,导致表被锁,只要执行下面两行语句,就可以了将行锁解锁了。用DBA系统管理员的身份,登陆PLSQL1.Select t2.username,t2.sid,t2.serial#,t2.logon_time from v$locked_object t1,v$session t2 where t1.session_id=t2.sid;--查看被锁表的sid和serial#2.alter system kill session 'sid, serial#';-
阅读全文

浙公网安备 33010602011771号