oosumu

懒鬼,门外汉

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

2005年3月25日 #

摘要: ProgressBar类usingSystem;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.ComponentModel;namespaceASPNET.StarterKit.Communities{/**////<summary>///Progressbarcontrolisusedformultiple... 阅读全文
posted @ 2005-03-25 17:13 - - 阅读(1083) 评论(0) 推荐(0) 编辑

2005年3月22日 #

摘要: string sScript = "<Script Language='javascript'>\n";            sScript += "alert... 阅读全文
posted @ 2005-03-22 10:37 - - 阅读(1162) 评论(0) 推荐(0) 编辑

2005年1月30日 #

摘要: Array()   FUNCTION: 返回一个数组   SYNTAX: Array(list)   ARGUMENTS: 字符,数字均可   EXAMPLE: <%   Dim myArray()   For i = 1 to 7   Redim Preserve myArray(i)   myArray(i) = WeekdayName(i)   Next   %[/IMG]   RES... 阅读全文
posted @ 2005-01-30 23:47 - - 阅读(1466) 评论(2) 推荐(0) 编辑

2005年1月13日 #

摘要: ASP.NET中定制出错页面 在ASP.NET中原始的出错页面会暴露部分源代码,由此带来了潜在的安全隐患。ASP.NET允许应用程序出错时显示用户指定的页面,方法是在web.config文件中修改配置信息。<? xml version="1.0" encoding="UTF-8" ?><configuration> ... 阅读全文
posted @ 2005-01-13 11:21 - - 阅读(1041) 评论(0) 推荐(0) 编辑

2005年1月12日 #

摘要:     public bool isnumeric(string str)        {            char[]&... 阅读全文
posted @ 2005-01-12 21:15 - - 阅读(770) 评论(0) 推荐(0) 编辑

2005年1月11日 #

摘要: (1)char、varchar、text和nchar、nvarchar、ntextchar和varchar的长度都在1到8000之间,它们的区别在于char是定长字符数据,而varchar是变长字符数据。所谓定长就是长度固定的,当输入的数据长度没有达到指定的长度时将自动以英文空格在其后面填充,使长度达到相应的长度;而变长字符数据则不会以空格填充。text存储可变长度的非Unicode数据,最大长度... 阅读全文
posted @ 2005-01-11 10:30 - - 阅读(698) 评论(0) 推荐(0) 编辑

2004年12月29日 #

摘要:  使用SQL SERVER 2000的全文检索功能 选择自 lihonggen0 的 Blog 步骤:1、  打开NorthWind数据库,右键Products表,选择“全文索引表”,“在表上定义全文索引”,为其创建全文目录。在“全文索引向导”中,选择你需要全文查询条件的列(可以是文本或图像),我们选择Pr... 阅读全文
posted @ 2004-12-29 11:10 - - 阅读(1070) 评论(0) 推荐(0) 编辑

摘要: <script language="javascript">    function focusNext(){        if(window.event.keyCode!=13)    ... 阅读全文
posted @ 2004-12-29 10:27 - - 阅读(1313) 评论(0) 推荐(0) 编辑

摘要: <%'--------------------------------------------------------------------' Microsoft ADO'' (c) 1996 Microsoft Corporation.  All Rights... 阅读全文
posted @ 2004-12-29 10:16 - - 阅读(1006) 评论(0) 推荐(0) 编辑

摘要: <% '用子函数实现数据库操作部分 dim cmdTest, rsTest,prmTest '函数ADOEXEC0处理存储过程不需要调用参数的情况 function ADOEXEC0(ComText)     Set cmdTest = Server.CreateO... 阅读全文
posted @ 2004-12-29 10:12 - - 阅读(1145) 评论(0) 推荐(0) 编辑