上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 1.新建demo.aspx页面。 2.首先在该页面的后台文件demos.aspx.cs中添加引用。 using System.Web.Services; 3.无参数的方法调用. 大家注意了,这个版本不能低于.net fra... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(177) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 1. RequiredFieldValidator:检查用户是否输入; 2. CompareValidator:检查两个表单输入项的输入信息是否存在某种指定关系,比如大、等于等;可用验证两个密码输入是否相同 ... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 功能及示例 5. 自定义事件 自定义事件如果你需要做一些附加的操作,你也不必担心,日期控件自带的自定义事件可以满足你的需求.此外,你还可以在自定义事件中调用提供的API库来做更多的运算和扩展,绝对可以通过很少的代码满足你及其个性化的需求.注意下面几个重要的指... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 事务(Transaction)是并发控制的单位,是用户定义的一个操作序列。这些操作要么都做,要么都不做,是一个不可分割的工作单位。 通过事务,SQL Server能将逻辑相关的一组操作绑定在一起,以便服务器保持数据的完整性。 在sql server+ .ne... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(115) 评论(0) 推荐(0) 编辑
摘要: select * from task_list where 1=1 and datediff(dd,carateTime,getdate()) =0 定义和用法 DATEDIFF() 函数返回两个... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(340) 评论(0) 推荐(0) 编辑
摘要: //如果鼠标5分钟无操作关闭当前窗口 补充: 如果想要无提示关闭需要重新写一个关闭窗口的函数, 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 一般有3种方法: 1.设置web.config文件 ...... ...... 2.传递中文之前,将要传递的中文参数进行编码,在接收时再进行解码。 > > 进行传递 string ... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(35) 评论(0) 推荐(0) 编辑
摘要: JS: 页面上: 请选择买号: ... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 在一般事务处理页面,可以轻松的得到 Request,Response对象,从而进行相应的操作,如下: HttpRequest Request = context.Request; HttpResponse Response = context.Respon... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 1、使用一般的webform,在页面用jQuery ajax调用,再从取得的html数据中取得内的内容,写入DOM 优点:不用改变现有的asp.net开发模式,可以使用现成的页面;ajax取得的内容是html文本,直接写入DOM即可 缺点:内容浪费,之... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(159) 评论(0) 推荐(0) 编辑
摘要: http://www.jq-school.com/Detail.aspx?id=254 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(5) 评论(0) 推荐(0) 编辑
摘要: function copyToClipboard() { var txt = $("#spHuoBiYiJiaWord").text(); if (window.clipboardData) {... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(57) 评论(0) 推荐(0) 编辑
摘要: using System; susing System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; ... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 示例: insert into user (name)select namefrom A.dbo.user 实例: 导入会员表:(member_info,要导入的目标表,shualodb.dbo.KS_User,hualodb(另个数据库)的源表) inse... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(214) 评论(0) 推荐(0) 编辑
摘要: function AutoResizeImage(maxWidth, maxHeight, objImg) { var img = new Image(); img.src = objImg.... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 1J的:风带、金甲、葫芦、拭剑石、惊魂铃、嗜血幡、天师符、飞剑 2J的倒是没什么,除了门派法宝就发瘟匣和五彩娃娃值得。但是100J有苍白纸人,比这个效果好。 3J的就比较多了,基本门派法宝必备。除此之外月光、纸人、无魂傀儡、、七宝玲珑灯、乾坤玄火塔是PK... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 法宝材料的五行位:龙筋 金天蚕丝 金千年阴沉木 木玄龟板 水麒麟血 水补天石 土金凤羽 土内丹的摆放位置:材料金+水 内丹土位材料金+木 内丹水位材料金+土 内丹水位材料木+水 内丹火位材料木+土 内丹火位材料水+土 内丹木位 ... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 导入会员表: select * from member_info where memberName ='jingqiu11' update member_info set memberName='jiao2' wher... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 转:https://blog.csdn.net/Code_shadow/article/details/80431937(不显示一定要先把select标签写上,不能标签也动态生成,那样会不显示 )//html//js$.ajax({ url:'depar... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 这里主要是将数据库中的常用操作用LAMBDA表达式重新表示了下,用法不多,但相对较常用,等有时间了还会扩展,并将查询语句及LINQ到时也一并重新整理下:1.select语句:books.Select(p=>new { p.Title, p.UnitPrice,... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 转。https://www.cnblogs.com/liuxiaoji/p/9234161.html微信支付 https://github.com/842549829/Fund/blob/master/Weixin/CreateRequest.cs/// ... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 用户编号 '> 在asp.net网站中,绑定repeater时,有时候需要隔行进行变色。如奇数行显示一种颜色,偶数行显示另一... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(64) 评论(0) 推荐(0) 编辑
摘要: jQuery获取Select选择的Text和Value:语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(677) 评论(0) 推荐(0) 编辑
摘要: select record_date, * from staff where datediff(month,record_date,getdate())<=1 record_date是要查的日期 <=1就是要查的日期和当前日期差1 month可改成年,月... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(148) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/blackain/article/details/12720653 很多时候我们可能需要部署多个应用,但正常情况下myeclipse只能配置一个weblogic,而我们又不想把所有的应用部署到一个domain中... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(81) 评论(0) 推荐(0) 编辑
摘要: select * from (select * from order by ) where rownum=1; select * from (select * from order by desc) where rownum=1; ... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 在Oralce中我发现有add_months函数,加天数N可以用如下方法实现,select sysdate+N from dual 在Oralce中我发现有add_months函数,加天数N可以用如下方法实现,select sysdate+N from d... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(1858) 评论(0) 推荐(0) 编辑
摘要: 添加字段的语法:alter table tablename add (column datatype [default value][null/not null],….); 修改字段的语法:alter table tablename modify (col... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(4824) 评论(0) 推荐(0) 编辑
摘要: public string strToExcel = "none";public string strConter = "none";public string updateuid = "";public string fileContents;public ... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(12) 评论(0) 推荐(0) 编辑
摘要: Update Update XXX set XXX where 这种写法大家肯定都知道,才发现update和delete居然支持inner join的update方式,这个在表间关联来做更新和删除操作非常有用. 列子: Sql代码 upda... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(493) 评论(0) 推荐(0) 编辑
摘要: 1、针对浏览器记住密码 1).首先大部分浏览器都是根据表单域的type="password"来判断密码域的,所以针对这种情况可以采取“动态设置密码域”的方法: 复制代码代码如下: 解释:当这个文档框获取焦点时才将其变成密码域,这样浏览器... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(521) 评论(0) 推荐(0) 编辑
摘要: Try Dim WebClientObj As New System.Net.WebClient() Dim PostV... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 首选218.85.157.99 备选218.85.152.99 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Excel读取时单元格里同时有数字和字母或符号时,如果无法取到值 注册完即可 32位电脑:注册Excel ISAM在“运行”对话框中:Regsvr32 c:\WINDOWS\system32\msexcl40.dll 64位电脑:注册Excel ISAM在... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 如果提示“找不到可安装的ISAM”参考我下一个文章 Sub TrnSAAccDataImExcel() Dim sDept As String = "" Dim sCode As String = "" Tr... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 环境:win7+iis7+Office2007 在asp.net网站中导出Excel文件后,再把文件导入到数据库中。 读取Excel文件时,打开连接出错。 错误为:外部表不是预期的格式 解决:检查了一下,导出的Excel是标准文件不是html,没错,... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(1409) 评论(0) 推荐(0) 编辑
摘要: jQuery 遍历函数包括了用于筛选、查找和串联元素的方法。 函数 描述 .add() 将元素添加到匹配元素的集合中。 .andSelf() 把堆栈中之前的元素集添加到当前集合中。 .children() 获得匹配元素集合中每个元素的所有子元素。 .clo... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 把以下内容保存为一个.bat文件。双击执行 @echo off echo 正在清除系统垃圾文件,请稍等...... del /f /s /q %systemdrive%\*.tmp del /f /s /q %systemdrive%\*._mp de... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(446) 评论(0) 推荐(0) 编辑
摘要: //ASP.NET后台页面跳转 Page.ClientScript.RegisterStartupScript(Page.GetType(), "", ""); //后台弹出确定框 ClientScript.RegisterStartupScript... 阅读全文
posted @ 2022-03-23 08:46 离。 阅读(57) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页