03 2012 档案
摘要:--创建 连接create database link 数据库链路名(dblink)connect to数据库用户名 identified by "口令"using '连接字符串';如果创建全局dblink,必须使用systm或sys用户,在database前加public。create publicdatabase link 数据库链路名(dblink)connect to数据库用户名 identified by "口令"using '连接字符串';--测试 是否正常一般情况下引用数据库链接,可以直接将其放到调用的表名或
阅读全文
摘要:View Code 1 <script type="text/javascript"> 2 function SetCwinHeight() { 3 var iframeid = document.getElementById("iframeid"); //iframe id 4 if (document.getElementById) { 5 if (iframeid && !window.opera) { 6 if (iframeid.contentDocument && iframeid.contentD
阅读全文
摘要:oracel dbms_jobs包可以提交作业到作业队列中,这个包中还提供其它一些函数管理以前提交的作业,如对作业进行修改、禁止或删除等操作。常用函数:submit(),提交作业到作业队列。isumbit(),remove(),从作业队列中删除作业。change(),改变已有作业的参数。what(),改变作业要执行的代码。next_date(),改变作业下一次执行时间。interval(),改变作业执行的时间间隔。broken(),暂停执行作业。run(),强制执行作业。最常用的submit()函数:dbms_jobs.submit( job out binary_integer, what
阅读全文
摘要:HTML扩展类的所有方法都有2个参数:以textbox为例子public static string TextBox( this HtmlHelper htmlHelper, string name, Object value, IDictionary<string, Object> htmlAttributes )public static string TextBox( this HtmlHelper htmlHelper, string name, Object value, Object htmlAttributes )这2个参数代表这个html标签的属性集合。使用方法如下
阅读全文
摘要:View Code 1 public static class MVCHelpers 2 { 3 public static string Table(this HtmlHelper helper, string name, IList items, IDictionary<string, object> attributes) 4 { 5 if (items == null || items.Count == 0 || string.IsNullOrEmpty(name)) 6 { 7 ...
阅读全文
摘要:View Code 1 public static MvcHtmlString FckText(this System.Web.Mvc.HtmlHelper helper, string name, string width = "1150", string height = "300") 2 { 3 if (string.IsNullOrEmpty(name)) 4 { 5 return MvcHtmlString.Create("name属性为必须"); 6 } 7 ...
阅读全文

浙公网安备 33010602011771号