摘要:
$(window).click(function (e) { var target = $(e.target); if (target.closest("#btn_addNewNodes,#txt_addNewNodes").length == 0) { ... 阅读全文
摘要:
update t1 set KCLX=t2.KCLX,KSFS=t2.KSFSfrom JX_PlannedCourse t1 inner join JX_Course t2 on t1.KCDM=t2.KCDMINNER JOIN JX_CourseType ON t2.KCLX = JX_CourseType.KCLXWHERE ISNULL(t1.KCLX,'')='' OR ISNULL(t1.KSFS,'')='' 阅读全文
摘要:
--首先将不是重复的数据提取出来,保存到一个临时表中select distinct * into #temp from JX_Score--然后删除原来的表delete from JX_Score--最后往里面插入临时表的数据insert into jx_score select * from #temp 阅读全文
摘要:
//jQuery加载$(document).ready(function(){ //开始编写函数});//点击后 上下滑动隐藏效果$("#id").click(function(){ $("id2").sildeToggle();});//创建自定义动画,可以实用队列功能(编写多个animate逐一调用)$("button").click(function(){ $("div").animate({left:'250px'});}); //停止动画或效果,在它们完成之前//stop() 方法适用于所 阅读全文
摘要:
15 14 Private Function GetXML(ByVal name As String) As String Dim path As String Dim xx As String = "" path = Application.StartupPath + "\xbd.xml" '文件的地址,相对位置 Try Dim reader As New Xml.XmlTextReader(path) reader.ReadToFollowin... 阅读全文
摘要:
Namespace Web Public Class CreateTableTools Inherits System.Web.UI.Page '**************************************** '****** 功能名称:打印创建Table功能类 '****** 功能描述:创建打印需要的创建的Table '****** '****** 开发日期:2013年9月25日 13:34:35 '****** 开 发 人:吴翰哲 '****** ... 阅读全文
摘要:
--在表中添加字段if col_length('JX_DomesticStudy','XL') is nullbeginalter table JX_DomesticStudy add PXlevel int default 0 endgo--创建表if not exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[JX_PXlevel]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)begin CREATE 阅读全文
摘要:
'附件添加 按钮 点击事件 吴翰哲 2013年7月23日 16:53:19 Protected Sub BtnAddFile_Click(ByVal sender As Object, ByVal e As EventArgs) Handles BtnAddFile.Click Try Dim sysConfigDB As New SysConfigDB Dim dr As DataRow = sysConfigDB.getItemByName("MaxFileSize") ... 阅读全文
摘要:
1 '后台 Partial Public Class Download2 2 Inherits System.Web.UI.Page 3 4 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 5 Dim fileName As String = Request.QueryString("FileName") 6 Dim flag As String = Request.QueryString("flag")... 阅读全文
摘要:
1.vb.net加密解密方法Private Function getLicenseDate() As String Dim b() As Byte Dim path As String = Server.MapPath(Context.Request.ApplicationPath) & "License\" Try If Not System.IO.Directory.Exists(path) Then System.IO.Directory.CreateDi... 阅读全文