上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 75 下一页
摘要: 用途有两个:1、延迟一段时间后执行比如:waitfor delay '00:00:05'print '延迟5秒执行!'--5秒后执行print2、指定从何时起执行比如:waitfor time '21:17'print '21:17执行'--到21:17的时候才会执行print 阅读全文
posted @ 2008-07-09 11:37 Nina 阅读(1007) 评论(0) 推荐(0) 编辑
摘要: 通过第三方控件收邮件(LumiSoft.Net.POP3.Client) 最近我们部门头,让我研究一下收邮件的功能。因为工作忙的原因一直没时间查找。先前也查到这个控件并且把源码和帮助都下载到本地了。就是没时间看。周末终于有时间研究一下了。下面是下载源码的地址:下载LumiSoft.Net类库,并下载LumiSoft.Net文档。下载完后用VS2005把源码打开生成release的。然后引入你需要接... 阅读全文
posted @ 2008-07-07 15:48 Nina 阅读(4165) 评论(6) 推荐(0) 编辑
摘要: 使用 LumiSoft.Net.POP3.Client 接收邮件 .Net FCL 里自带了SMTP的实现System.Net.Mail,但是没有POP3的实现,要想使用.Net通过代码接收邮件,就只能通过第三方的组件了。这里我给大家介绍一下我常用的LumiSoft.Net.POP3.Client。LumiSoft.Net是由Ivar Lumi开发的免费,开放源码的.Net网络协议库,包含了DNS... 阅读全文
posted @ 2008-07-07 14:30 Nina 阅读(1901) 评论(4) 推荐(0) 编辑
摘要: 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 ... 阅读全文
posted @ 2008-06-25 12:30 Nina 阅读(1187) 评论(0) 推荐(0) 编辑
摘要: if exists (select * from dbo.sysobjects where id = object_id(N'[tb_Holiday]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [tb_Holiday] GO --定义节假日表 CREATE TABLE tb_Holiday( HDate smalldateti... 阅读全文
posted @ 2008-05-29 12:07 Nina 阅读(6234) 评论(0) 推荐(0) 编辑
摘要: /***Title:check email pattern Code*Time:2006-11-24 *Author:colinmok*/ function chkSendEmail(){ //检查是否为空 if(frmSendEmail.to.value==""){ alert("请输入1至10个Email!"); document.frmSendEmail.to.focus(... 阅读全文
posted @ 2008-05-27 18:24 Nina 阅读(2049) 评论(0) 推荐(0) 编辑
摘要: protected void Button1_Click(object sender, EventArgs e) ...{ System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage(); //收件人 message.To.Add(txtMailAddress.Te... 阅读全文
posted @ 2008-05-27 18:21 Nina 阅读(747) 评论(1) 推荐(0) 编辑
摘要: 功能: 1。把图片文件(JPG GIF PNG)上传, 2。保存到指定的路径(在web.config中设置路径,以文件的原有格式保存), 3。并自动生成指定宽度的(在web.config中设置宽度) 4。和指定格式的(在web.config中指定缩略图的格式) 5。和原图比例相同的缩略图(根据宽度和原图的宽和高计算所略图的高度) 6。可以判断... 阅读全文
posted @ 2008-05-19 17:10 Nina 阅读(1582) 评论(1) 推荐(0) 编辑
摘要: 由table來設置是否為工作日,(如果為節假日則設置為非工作日,即talbe會設置每天是否為工作日)帶入的日期必須為工作日。 ALTER function [dbo].[fn_workdayadd](@date datetime, @days int) returns datetime --nvarchar(100)asbegindeclare @i int--計算工作天set @i=1de... 阅读全文
posted @ 2008-05-15 11:55 Nina 阅读(440) 评论(0) 推荐(0) 编辑
摘要: /* * * * * * * * * * * * * * * * * * * * * * 功能:按工作日加减天数,忽略星期六日。* * 适用:sql的有效日期范围之内。 * * 作者:Limpire(昨夜小楼) * * * * * * * * * * * * * * * * * * * * * */create function fn_workdayad... 阅读全文
posted @ 2008-05-14 15:19 Nina 阅读(550) 评论(0) 推荐(0) 编辑
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 75 下一页