Loading

10 2008 档案

摘要:在asp.net 2.0中可以用split方法 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->string[] results = input.Split(new char[] { '-', '(', ')' }, StringSpli... 阅读全文
posted @ 2008-10-28 22:42 .net's 阅读(705) 评论(0) 推荐(0)
摘要:不要指定CustomValidator 控件的ControlToValidate就行了,这样在提交的时候回进行验证 代码如下: --------------------------------- ... 阅读全文
posted @ 2008-10-27 21:53 .net's 阅读(850) 评论(1) 推荐(0)
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighli... 阅读全文
posted @ 2008-10-24 22:57 .net's 阅读(1264) 评论(0) 推荐(0)
摘要:首先,下载MySQL Connector/ODBC 3.51 Downloads 下载下来,安装完成后,到控制面板--〉管理工具--〉Data Source(ODBC), 双击,再点击Add按钮, 选择MySQL ODBC 3.51 Driver 之后,弹出连接mysql参数配置窗口,如下 把相应参数填写好之后,点Test,若连接成功,确定就配置好了。 下面是C#代码 Code Code... 阅读全文
posted @ 2008-10-23 22:01 .net's 阅读(7180) 评论(0) 推荐(0)
摘要:使用 ECMAScript (JavaScript、JScript) 创建验证函数。 下面的代码示例解释了自定义客户端验证。源自页的摘要将显示由 CustomValidator 控件引用的 TextBox 控件。验证控件调用名为 validateLength 的客户端脚本函数,以确认用户在 TextBox 控件中输入了至少 8 个字符。 Visual Basic 复制代码 ... 阅读全文
posted @ 2008-10-22 22:49 .net's 阅读(530) 评论(0) 推荐(0)
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> // 1 //DropDownList1.SelectedValue = "5g"; // 若SelectedValue没有对应的5g,则抛出如下异常 ... 阅读全文
posted @ 2008-10-18 20:47 .net's 阅读(555) 评论(1) 推荐(0)
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->var WebWindow = new Object();WebWindow.init = function(winId) { eval("place=" + this.ge... 阅读全文
posted @ 2008-10-12 19:45 .net's 阅读(808) 评论(2) 推荐(0)
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Untitled Document Click Here This is some conte... 阅读全文
posted @ 2008-10-12 16:47 .net's 阅读(482) 评论(0) 推荐(0)
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->// 一次执行多条sql语句 string strconn = @"Data Source=.\sqlexpress;Initial Catalog=info;Integr... 阅读全文
posted @ 2008-10-09 20:33 .net's 阅读(836) 评论(0) 推荐(0)