博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2007年3月29日

摘要: section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> ... 阅读全文

posted @ 2007-03-29 00:15 Snapping 阅读(190) 评论(0) 推荐(0) 编辑

摘要: http://blog.csdn.net/donkeyzheng/archive/2006/09/14/1222581.aspx 阅读全文

posted @ 2007-03-29 00:08 Snapping 阅读(159) 评论(0) 推荐(0) 编辑

2007年3月27日

摘要: Error info:WS-Metadata Exchange Error URI: http://localhost:8080/WCFTest/Service.svcHTTP GET Error URI: http://localhost:8080/WCFTest/Service.svc在service的web.config中添加 ... 阅读全文

posted @ 2007-03-27 18:10 Snapping 阅读(343) 评论(1) 推荐(0) 编辑

摘要: USE SnappingTestGO CREATE TABLE DBO.FreeGift( FreeGiftID int identity(1,1) not null, FreeGiftType char(1) not null default('')) alter table dbo.FreeGift add constraint PK_FreeGift primary key (FreeGif... 阅读全文

posted @ 2007-03-27 14:08 Snapping 阅读(241) 评论(0) 推荐(0) 编辑

摘要: 摘录自http://www.developer.com/net/cplus/article.php/1479761: The following list outlines some of the major differences between .NET Remoting and Web services that will help you to decide when to use one... 阅读全文

posted @ 2007-03-27 12:05 Snapping 阅读(209) 评论(0) 推荐(0) 编辑

摘要: update sls.dbo.newegg_somasterset sodate = getdate()from sls.dbo.newegg_somaster ainner join sls.dbo.newegg_soTransaction bon a.sonumber = b.sonumberwhere a.sonumber = 1779881 阅读全文

posted @ 2007-03-27 09:24 Snapping 阅读(136) 评论(0) 推荐(0) 编辑

2007年3月26日

摘要: http 协议一共有4种方式:其中两种是 GET 和 POST,另外两个不常用。 get 是通过附加在 url 后面,以查询字符串的方式,来发送请求 比如你写一个 发出请求时,效果完全等同于 xxx.asp?username=snapping 这样一个请求 get 因为 url 长度有限制,所以可以传输的东西是比较少的并且有一定的限制。 post 呢,本质上是通过附加 http header... 阅读全文

posted @ 2007-03-26 14:55 Snapping 阅读(265) 评论(0) 推荐(0) 编辑

摘要: [DllImport("user32.dll")] private static extern int SendMessage(IntPtr hWnd, uint Msg, int wParam, int lParam); private int GetLineCount(TextBox txt) { return SendMessage(txt.Handle, 0xBA, 0, ... 阅读全文

posted @ 2007-03-26 14:48 Snapping 阅读(240) 评论(0) 推荐(0) 编辑

摘要: JsSelect.html New Document Options.html New Document " class="btn" onclick="sele... 阅读全文

posted @ 2007-03-26 00:41 Snapping 阅读(737) 评论(2) 推荐(0) 编辑

2007年3月23日

摘要: 为类实现复制方法。下面方法只是对成员变量,属性实现复制。有空还需要将方法等补上。 private static void CopyObject(object src, object des) { System.Type objType = src.GetType(); foreach (PropertyInfo pi in objType.GetPropertie... 阅读全文

posted @ 2007-03-23 09:27 Snapping 阅读(200) 评论(0) 推荐(0) 编辑