摘要: http://blog.csdn.net/mengyao/ 有错误,仍待学习(去掉if else 运行正确)[代码] 阅读全文
posted @ 2009-05-13 11:52 jianlinglo 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 转自http://blog.csdn.net/mengyao/:wma,wmv格式的目前小试能行[代码] 阅读全文
posted @ 2009-05-13 10:22 jianlinglo 阅读(946) 评论(0) 推荐(1) 编辑
摘要: 原帖:http://www.cnblogs.com/WizardWu/archive/2008/08.html在图 1 的三个 TextBox 中,若要验证输入是否为数字,只要用 ASP.NET 的验证控件,或 AJAX 的 MaskedEditExtender 即可办到。但用验证控件的话,当使用者输入的不是数字时,并无法将鼠标或键盘的 focus,强制停留在输入错误的 TextBox 中 (否则... 阅读全文
posted @ 2009-05-08 16:19 jianlinglo 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 添加引用:Microsoft.VisualBasic前台:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />后台:protected voi... 阅读全文
posted @ 2009-05-08 15:58 jianlinglo 阅读(668) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->读取数据库中的数据 在ASP.NET中,读取数据库中的数据可以使用datareader 和dataset两种方法,两者差异如下: 使用dataset对象读取数据大致需要以下五个步骤: (1)建立数... 阅读全文
posted @ 2009-04-10 12:12 jianlinglo 阅读(1215) 评论(2) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->首先定义一个全局变量dataTable public DataTable dt { get { return (DataTable)ViewState["dt"]; } ... 阅读全文
posted @ 2009-04-09 16:23 jianlinglo 阅读(474) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->BLOWFISH算法Blowfish是一个64位分组及可变密钥长度的分组密码算法,算法由两部分组成:密钥扩展和数据加密。密钥扩展把长度可达到448位的密钥转变成总共4168字节的几个子密钥。数据加... 阅读全文
posted @ 2009-04-07 14:47 jianlinglo 阅读(1198) 评论(0) 推荐(1) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> WiZard控件用法 ... 阅读全文
posted @ 2009-04-01 09:56 jianlinglo 阅读(231) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> B/S结构导致了Web应用程序中打印的特殊性。 • 程序运行在浏览器中,打印机在本地,而文件确可能在服务器上,导致了打印控制不是很灵活。 • 格式如何控制和定制等,是我们开发中可能会面对的... 阅读全文
posted @ 2009-03-23 14:18 jianlinglo 阅读(164) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 在GridView中添一序号列可以通过添加模板列,和Container提供的DataItemIndex属性来方便实现。如下所示: ... 阅读全文
posted @ 2009-03-23 14:17 jianlinglo 阅读(181) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1.将Image图像文件存入到数据库中 我们知道数据库里的Image类型的数据是"二进制数据",因此必须将图像文件转换成字节数组才能存入数据库中.要这里有关数据的操作略写,我将一些代码... 阅读全文
posted @ 2009-03-16 14:55 jianlinglo 阅读(509) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->SQL Server中删除重复数据的几个方法数据库的使用过程中由于程序方面的问题有时候会碰到重复数据,重复数据导致了数据库部分设置不能正确设置…… 方法一declare @max integer... 阅读全文
posted @ 2009-03-07 10:00 jianlinglo 阅读(3288) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1、用字符串分隔: using System.Text.RegularExpressions; string str="aaajsbbbjsccc";string[] sArray=Regex.... 阅读全文
posted @ 2009-03-04 10:05 jianlinglo 阅读(183) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->函数 语法 功能 Len Len(string|varname) 返回字符串内字符的数目,或是存储一变量所需的字节数。 Trim Trim(string) 将字符串前后的空格去掉 Ltrim Lt... 阅读全文
posted @ 2009-03-04 10:02 jianlinglo 阅读(507) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->asp.net中的日期处理函数 //2007年4月24日 this.textbox6.text = system.datetime.now.tostring("d"); ... 阅读全文
posted @ 2009-02-24 10:14 jianlinglo 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 完全不懂什么意思 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> XmlDataSource ... 阅读全文
posted @ 2009-01-15 17:08 jianlinglo 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 例1:数据源为xml CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 无标题页 wrote ... 阅读全文
posted @ 2009-01-15 16:38 jianlinglo 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 1.好看的(上下月能具体显示出来) CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> ... 阅读全文
posted @ 2009-01-15 16:03 jianlinglo 阅读(315) 评论(0) 推荐(0) 编辑
摘要: PlaceHolder控件 lCodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 无标题页 PlaceHolder控件的功能与Panel控件的功能相似,动态地添加新的控件时用PlaceHolder控件。 文本框... 阅读全文
posted @ 2009-01-15 15:33 jianlinglo 阅读(407) 评论(0) 推荐(0) 编辑
摘要: RequiredFieldValidator的属性:InitialValueInitialValue设置后,只能保证控件的值和InitialValue值不同;不能保证控件的值“不为空”。 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> ... 阅读全文
posted @ 2009-01-15 15:00 jianlinglo 阅读(2395) 评论(0) 推荐(0) 编辑