摘要:在.Net 平台下,创建一个ASP.Net的程序1、引用两个NAMESPACE using System.Text //因为用了Encoding类 using System.Net //因为用了WebClient 类2、整个程序用了三个控件 txtUrl //输入你要获取的网页地址 TEXTBOX控件 txtBody //得到你要获...
阅读全文
posted @ 2006-08-13 21:42
|
|||
08 2006 档案
摘要:在.Net 平台下,创建一个ASP.Net的程序1、引用两个NAMESPACE using System.Text //因为用了Encoding类 using System.Net //因为用了WebClient 类2、整个程序用了三个控件 txtUrl //输入你要获取的网页地址 TEXTBOX控件 txtBody //得到你要获...
阅读全文
posted @ 2006-08-13 21:42
摘要:如何使用C#创建一个三层的数据库应用程序1.分析在我们这个程序中采用如下的层次:Web层,业务实体层,数据层。其中:业务实体层负责Web层与数据层之间的数据交换。数据层仅仅代表数据库。Web层通过业务实体层来访问数据库。我们的中间的业务实体层采用WebService.2.实例我们通过一个实例来学习三层架构。(1) 以sql2000为例建立TestUser数据库。表的sql脚本(在查询分析器中执行即...
阅读全文
posted @ 2006-08-13 21:33
摘要:1using System; 2using System.Data; 3using System.Data.SqlClient; 4using System.Configuration; 5 6namespace DbBase 7{ 8 9public abstract class Base 10{ 11 12"Fields of base calss"#region "Fie...
阅读全文
posted @ 2006-08-13 21:30
摘要:/**//*用途:校验ip地址的格式输入:strIP:ip地址返回:如果通过验证返回true,否则返回false; */function isIP(strIP) { if (isNull(strIP)) return false;var re=/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/g //匹配IP地址的正则表达式if(re.test(strIP)){if( RegExp....
阅读全文
posted @ 2006-08-09 17:03
摘要:效果图:源程序: 1 2 3 4 5 6JavaScript幻灯片效果 7 30206207208209210 211 212照片已加载:0%213214217220221 222223秒224225226227228 229230237238239
阅读全文
posted @ 2006-08-09 16:45
|
|||