Billpeng Space

技术源自生活
随笔 - 273, 文章 - 0, 评论 - 97, 阅读 - 60万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

12 2008 档案

摘要:1. “必须”在Page_Load的时候生成控件以及绑定事件。 2. 加载的代码不能包含在if (!IsPostBack){...}中。 3. 不要忘记设置控件的ID。 阅读全文

posted @ 2008-12-28 23:39 billpeng 阅读(266) 评论(0) 推荐(0) 编辑

摘要:ScriptManager.RegisterStartupScript(UpdatePanel1, this.GetType(), "updateScript", "alert('更新成功');", true); 阅读全文

posted @ 2008-12-28 20:43 billpeng 阅读(196) 评论(0) 推荐(0) 编辑

摘要:将 bitmap.Save(page.Response.OutputStream, ImageFormat.Png); 改为: MemoryStream MemStream = new MemoryStream(); bitmap.Save(MemStream, ImageFormat.Png); MemStream.WriteTo(page.Re... 阅读全文

posted @ 2008-12-24 11:08 billpeng 阅读(460) 评论(1) 推荐(0) 编辑

摘要:C#截取字符串前几位.区分中英文 阅读全文

posted @ 2008-12-18 11:20 billpeng 阅读(4459) 评论(0) 推荐(0) 编辑

摘要:原因分析: 由于动态往DropDownList中添加了新项,导致DropDownList中的项目与隐藏域中记录的项目不符,所以就出现了“回发或回调参数无效”问题。 网上也有说通过 protected override void Render(System.Web.UI.HtmlTextWriter writer)事件,ClientScript.RegisterForEventValidation方法向隐藏域中注册项。我试了好多次,也没有成功。 阅读全文

posted @ 2008-12-14 00:58 billpeng 阅读(611) 评论(0) 推荐(0) 编辑

摘要:在使用了母版页的内容页后,如何在javascript中调用服务器控件值 阅读全文

posted @ 2008-12-13 17:58 billpeng 阅读(823) 评论(0) 推荐(0) 编辑

摘要:转自:http://www.cnblogs.com/over140/archive/2008/06/16/1222908.html 阅读全文

posted @ 2008-12-11 01:14 billpeng 阅读(1718) 评论(0) 推荐(0) 编辑

摘要:多线程操作控件C# 阅读全文

posted @ 2008-12-09 01:23 billpeng 阅读(312) 评论(0) 推荐(0) 编辑

摘要:查询与绑定 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; ... 阅读全文

posted @ 2008-12-08 18:04 billpeng 阅读(1372) 评论(0) 推荐(0) 编辑

摘要:SQL从第二条开始取记录 阅读全文

posted @ 2008-12-05 09:30 billpeng 阅读(610) 评论(0) 推荐(0) 编辑

摘要:重写OnPreRender方法 阅读全文

posted @ 2008-12-04 16:28 billpeng 阅读(280) 评论(0) 推荐(0) 编辑

摘要: 总体感觉:有母版甚至于母版嵌母版的页面上findcontrol比较麻烦,不知道有没有什么好办法 阅读全文

posted @ 2008-12-03 16:39 billpeng 阅读(2021) 评论(8) 推荐(0) 编辑

摘要:嵌套Repeater显示数据 Repeater2中的显示数据,是由Repeater1中的字段数据为条件 阅读全文

posted @ 2008-12-02 09:30 billpeng 阅读(281) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示