摘要: 获取DropDownList的序号和显示值Session["PaperID"] = ddlPaper.SelectedValue; Session["PaperName"] = ddlPaper.SelectedItem.Text; 阅读全文
posted @ 2008-08-29 15:58 aito 阅读(843) 评论(0) 推荐(0) 编辑
摘要: 经过试验是不是成功的!! 阅读全文
posted @ 2008-08-27 20:56 aito 阅读(2276) 评论(4) 推荐(0) 编辑
摘要: GridView的常用事件 阅读全文
posted @ 2008-08-25 23:45 aito 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 对"事件"机制理解 阅读全文
posted @ 2008-08-25 22:17 aito 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 通常是用EvengArgs做基类,是个通常的约定做法,在事件里面,确定 Delegate 的参数类型并没有确定的做法。如你要创建一个事件说收到消息了,可以这样写: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//创建委托类型 ... 阅读全文
posted @ 2008-08-25 19:41 aito 阅读(219) 评论(0) 推荐(1) 编辑
摘要: 收藏一些自己曾用到的正则表达式 阅读全文
posted @ 2008-08-25 19:12 aito 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 方法一:[代码]例如:[代码]方法二:[代码]两种方法没有太大差别,但是如果你不知道GridViewRow这个类型就很难想到使用这种方法。类似的DataList。 [代码] 在GridView中有一列允许编辑,等它处于编辑状态时是一个TextBox。怎么得到这个TextBox呢?一般我们得到GridView中的控件的方法是在RowDataBound事件中写这行代码((TextBox)e.Row.C... 阅读全文
posted @ 2008-08-25 13:10 aito 阅读(3979) 评论(0) 推荐(1) 编辑
摘要: 收藏一些较常用,有用的代码 阅读全文
posted @ 2008-08-25 08:12 aito 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1.ASP.NET实用技巧(一) 2.net学习网站汇总 3.65个源码下载网站4.三层结构开发模式5.asp.net 7层结构说明 6.网上常用免费WebServices集合 阅读全文
posted @ 2008-08-23 23:25 aito 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 子窗口的信息传递给父窗口,并且关闭自己,或者是父窗口把自己的信息传递给子窗口。 阅读全文
posted @ 2008-08-23 23:09 aito 阅读(1276) 评论(0) 推荐(1) 编辑