04 2009 档案
转帖(http://hi.baidu.com/johnehuang/blog/item/e1e96782a4b04e97f703a6dc.html)
摘要:触发器是一种特殊类型的存储过程,不由用户直接调用。创建触发器时会对其进行定义,以便在对特定表或列作特定类型的数据修改时执行。 CREATE PROCEDURE 或 CREATE TRIGGER 语句不能跨越批处理。即存储过程或触发器始终只能在一个批处理中创建并编译到一个执行计划中。 ... 阅读全文
posted @ 2009-04-30 17:18 蚂蚁跳楼 阅读(398) 评论(2) 推荐(0)
触发器3
摘要:查看文章 Sql Server 触发器(三) 2009-04-15 10:00 接(二) ... 阅读全文
posted @ 2009-04-30 17:16 蚂蚁跳楼 阅读(508) 评论(0) 推荐(0)
触发器2
摘要:Sql Server 触发器(二) 2009-04-15 09:59 接(一) --触发器示例2 /* 创建触发器[T_INSERT_卷烟销售表],该触发器较复杂。 说明: 每当[卷烟库存表... 阅读全文
posted @ 2009-04-30 17:16 蚂蚁跳楼 阅读(671) 评论(1) 推荐(1)
SQL触发器实例讲解1
摘要:SQL触发器实例1 定义: 何为触发器?在SQL Server里面也就是对某一个表的一定的操作,触发某种条件,从而执行的一段程序。触发器是一个特殊的存储过程。 常见的触发器有三种:分别应用于Insert , Update , Delete 事件。 我为什么要使用触发器?比如,这么两个表: Create Table Student( ... 阅读全文
posted @ 2009-04-30 17:15 蚂蚁跳楼 阅读(35837) 评论(12) 推荐(8)
Caching Application Block 转帖(原帖:http://pw.cnblogs.com/archive/2006/05/31/413581.html)
摘要:注.NET技术 Enterprise Library 2.0 -- Caching Application Block 开始写Enterprise Library 2.0的学习体会,准备先把每个部分的入门部分写好,然后再继续深入的研究每一部分,希望能得到高手的指点和建议。今天写的是Enterprise Library 2.0 中的 Caching Application Bl... 阅读全文
posted @ 2009-04-28 21:16 蚂蚁跳楼 阅读(1011) 评论(0) 推荐(0)
ced
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> private System.ComponentModel.BackgroundWorker worker; 1.第一步。也是非常常见的 实现btnOK_Click的功能(也就是点击登陆的功... 阅读全文
posted @ 2009-04-28 13:03 蚂蚁跳楼 阅读(187) 评论(0) 推荐(0)
ce
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> private System.ComponentModel.BackgroundWorker worker; 1.第一步。也是非常常见的 实现btnOK_Click的功能(也就是点击登陆的功... 阅读全文
posted @ 2009-04-28 12:51 蚂蚁跳楼 阅读(134) 评论(0) 推荐(0)
如何使用命令模式去调用web服务
摘要://------------------------------------------------------------程序如何实现一个命令模型------------------------------------------------ 开始的准备: [code language="c#"] private System.ComponentModel.BackgroundWork... 阅读全文
posted @ 2009-04-23 16:33 蚂蚁跳楼 阅读(240) 评论(0) 推荐(0)
如何设计N层的程序
摘要:我们的分析思路是从顶层到底层来进行。 先看web服务,这个web服务是采用SOAP头进行验证的。 1.这里是web服务,web服务很简单。采用的是调用一个函数 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public class Cours... 阅读全文
posted @ 2009-04-23 11:25 蚂蚁跳楼 阅读(312) 评论(0) 推荐(0)
一个问题
摘要:今天遇到一个问题。。莫名其妙的 程序生成Reference。然后造成我类型不匹配。。。好不容易解决了。。。 阅读全文
posted @ 2009-04-21 23:23 蚂蚁跳楼 阅读(144) 评论(0) 推荐(0)
clickOnce
摘要:今天小试了一下clickonce 。发现确实不错。。不过个人感觉是用于组件开发的时候会更加方便 记住每一次发布的时候要把原来debug文件夹下的东西能删的都删掉。。。然后点击项目 的publish进行发布。。不然有会提示 “缺少一部分” 的错误。。。 阅读全文
posted @ 2009-04-21 17:27 蚂蚁跳楼 阅读(274) 评论(0) 推荐(0)
一个具体的列子:vc操作ftp
摘要:一个ftp操作的例子: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 //自定义的数据类型 2#include 3using namespace std; 4typedef std::list FileList... 阅读全文
posted @ 2009-04-02 10:41 蚂蚁跳楼 阅读(682) 评论(0) 推荐(0)
如何生成请求包?
摘要:如何生成请求包? 1.我们首先初始化一片内存区域。 2.我们利用sprintf与strcat将 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//下面我们逐步解析如何获得服务参数 /*如何获得扩展参数*/ for( ... 阅读全文
posted @ 2009-04-01 16:43 蚂蚁跳楼 阅读(168) 评论(0) 推荐(0)
VC常用的函数(原创)转载需加地址
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/////////////////////////////////////////////////////////////////////// // // 函数名 : trim ... 阅读全文
posted @ 2009-04-01 16:06 蚂蚁跳楼 阅读(312) 评论(0) 推荐(0)
如何让你的站点可以通过配置进行更改
摘要:主要是用VC读取Config文件的问题 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 2//1.一般比较好的编程方式要用一个MyDefine.h保存我们本地的配置 3 4typedef struct _SYS_INFO ... 阅读全文
posted @ 2009-04-01 15:41 蚂蚁跳楼 阅读(211) 评论(0) 推荐(0)
VC如何应用STL
摘要:下面我们以一个简单的队列应用。来说明 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1#include 2#include 3 4//第一步:定义你要用到的结构体 5typedef struct _QUERY_DATA ... 阅读全文
posted @ 2009-04-01 09:17 蚂蚁跳楼 阅读(255) 评论(0) 推荐(0)