<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_CrossMan的专栏</title><subtitle type="text">C#/ASP.NET/PHP</subtitle><id>http://feed.cnblogs.com/blog/u/25892/rss</id><updated>2007-04-16T18:01:19Z</updated><author><name>CrossMan</name><uri>http://www.cnblogs.com/CrossMan/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/CrossMan/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/25892/rss"/><entry><id>http://www.cnblogs.com/CrossMan/archive/2007/04/17/716111.html</id><title type="text">ASP.NET程序中常用的三十三种代码</title><summary type="text">1. 打开新的窗口并传送参数： &#xD;   &#xD;  　　传送参数： &#xD;   &#xD;  response.write("＜script＞window.open(’*.ASPx?id="+this.DropDownList1.SelectIndex+"&amp;id1="+...+"’)＜/script＞") &#xD;   &#xD;  　　接收参数： &#xD;   &#xD;  string a = Request.QueryString("id"); &#xD;  string b = Request.QueryString("id1"); &#xD;   &#xD;  　　2.为按钮添加对话框 &#xD;   &#xD;  Button1.Attributes.Add("onclick","return confirm(’确认?’)"); &#xD;  button.attributes.add("onclick","if(confirm(’are you sure...?’)){return true;}else{return false;}") &#xD;   </summary><published>2007-04-16T17:00:00Z</published><updated>2007-04-16T17:00:00Z</updated><author><name>CrossMan</name><uri>http://www.cnblogs.com/CrossMan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/CrossMan/archive/2007/04/17/716111.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/CrossMan/archive/2007/04/17/716111.html"/></entry><entry><id>http://www.cnblogs.com/CrossMan/archive/2007/04/17/716109.html</id><title type="text">常用+实用的SQL语句</title><summary type="text">下列语句部分是Mssql语句，不可以在access中使用。&#xD; &#xD;SQL分类： 　　DDL—数据定义语言(CREATE，ALTER，DROP，DECLARE) &#xD;DML—数据操纵语言(SELECT，DELETE，UPDATE，INSERT) &#xD;DCL—数据控制语言(GRANT，REVOKE，COMMIT，ROLLBACK)　　 &#xD;首先,简要介绍基础语句：　　 &#xD;1、说明：创建数据库CREATE DATABASE database-name 　　 &#xD;2、说明：删除数据库drop database dbname　　 &#xD;3、说明：备份sql server　　 &#xD;--- 创建 备份数据的 deviceUSE master &#xD;EXEC sp_addumpdevice 'disk', 'testBack', 'c:\mssql7backup\MyNwind_1.dat'　　 &#xD;--- 开始 备份BACKUP DATABASE pubs TO testBack 　　 &#xD;4、说明： &#xD;创建新表crea</summary><published>2007-04-16T16:58:00Z</published><updated>2007-04-16T16:58:00Z</updated><author><name>CrossMan</name><uri>http://www.cnblogs.com/CrossMan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/CrossMan/archive/2007/04/17/716109.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/CrossMan/archive/2007/04/17/716109.html"/></entry><entry><id>http://www.cnblogs.com/CrossMan/archive/2007/04/17/716107.html</id><title type="text">用C#实现基于TCP协议的网络通讯</title><summary type="text">TCP协议是一个基本的网络协议，基本上所有的网络服务都是基于TCP协议的，如HTTP,FTP等等，所以要了解网络编程就必须了解基于TCP协议的编程。然而TCP协议是一个庞杂的体系，要彻底的弄清楚它的实现不是一天两天的功夫，所幸的是在.net framework环境下，我们不必要去追究TCP协议底层的实现，一样可以很方便的编写出基于TCP协议进行网络通讯的程序。 &#xD;   &#xD;  要进行基于TCP协议的网络通讯，首先必须建立同远程主机的连接，连接地址通常包括两部分——主机名和端口，如www.yesky.com:80中，www.yesky.com就是主机名，80指主机的80端口，当然，主机名也可以用IP........</summary><published>2007-04-16T16:56:00Z</published><updated>2007-04-16T16:56:00Z</updated><author><name>CrossMan</name><uri>http://www.cnblogs.com/CrossMan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/CrossMan/archive/2007/04/17/716107.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/CrossMan/archive/2007/04/17/716107.html"/></entry><entry><id>http://www.cnblogs.com/CrossMan/archive/2007/04/16/715991.html</id><title type="text">C#中调用Windows API的要点</title><summary type="text">在.Net Framework SDK文档中，关于调用Windows API的指示比较零散，并且其中稍全面一点的是针对Visual Basic .net讲述的。本文将C#中调用API的要点汇集如下，希望给未在C#中使用过API的朋友一点帮助。另外如果安装了Visual Studio .net的话，在C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Samples\Technologies\Interop\PlatformInvoke\WinAPIs\CS目录下有大量的调用API的例子。 &#xD;&#xD;一、调用格式 &#xD;  &#xD;using System.Runtime.InteropServices; //引用此名称空间，简化后面的代码 &#xD;</summary><published>2007-04-16T14:42:00Z</published><updated>2007-04-16T14:42:00Z</updated><author><name>CrossMan</name><uri>http://www.cnblogs.com/CrossMan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/CrossMan/archive/2007/04/16/715991.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/CrossMan/archive/2007/04/16/715991.html"/></entry></feed>
