会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
龙之家园
我的博客我做主!
公告
日历
导航
博客园
首页
新随笔
新文章
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2006年12月6日
[ASP.NET代码]ASP.NET程序中常用的三十三种代码
摘要: asp.net程序中最常用的三十三种编程代码,为初学者多多积累经验,为高手们归纳总结,看了觉得很有价值~,大家不妨参考下! 1. 打开新的窗口并传送参数: 传送参数: response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") ...
阅读全文
posted @ 2006-12-06 15:53 zhengfeng
阅读(231)
评论(0)
推荐(0)
2006年11月29日
自动填充固定行数的 GridView
摘要: 在有些开发实践中,有时候为了页面美观的需要,需要将GridView填充成固定行数的表格,下面这个方法实现了这种填充的功能。此方法可以处理自动产生列和模版列。注意:由于时间关系,没有实现对完全空白数据的填充,呵呵,如果需要,可以自己添加哈:)! C#: 自动填充固定行数的 GridView ...
阅读全文
posted @ 2006-11-29 17:39 zhengfeng
阅读(324)
评论(0)
推荐(0)
2006年11月18日
JAVASCRIPT各种脚本
摘要: 1.如何控制在DataList中的CheckBox选择不能超过3个 .csprivate void DataList1_ItemDataBound(object sender, System.Web.UI.WebControls.DataListItemEventArgs e){CheckBox cbx=(CheckBox)e.Item.FindControl("CheckBox1");cbx.A...
阅读全文
posted @ 2006-11-18 13:29 zhengfeng
阅读(243)
评论(0)
推荐(0)
2006年10月27日
几个小方法!
摘要: 1.在gb2312下做的网站,如何转成UTF-8的?? :Web.config中加入--------------------------------------------页面中在里加入ResponseEncoding="utf-8"2.DATALIST中截取显示的字符串:在......中加入脚本public String getLeftString(string key){String strT...
阅读全文
posted @ 2006-10-27 09:59 zhengfeng
阅读(193)
评论(1)
推荐(0)
2006年10月23日
鼠标停在目录1,目录2,目录3的时候显示菜单
摘要: Untitled Page 目录1 主页 太平洋电脑网 ...
阅读全文
posted @ 2006-10-23 22:44 zhengfeng
阅读(179)
评论(0)
推荐(0)
asp.net调用存储过程的参数
摘要: SqlCommand command = BuildQueryCommand( connection,storedProcName, parameters );command.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("@articleid",article.articleid);cmd.Parameters.Add...
阅读全文
posted @ 2006-10-23 22:31 zhengfeng
阅读(224)
评论(0)
推荐(0)
2006年10月22日
一个实现查询功能的asp.net控件
摘要: using System;using System.Web.UI;using System.Web.UI.WebControls;using System.ComponentModel; namespace SearchControl{ /// /// Search 的摘要说明。 /// public class Search : System.Web.UI.Control,INamingC...
阅读全文
posted @ 2006-10-22 14:42 zhengfeng
阅读(331)
评论(0)
推荐(0)
2006年10月16日
在ASP.NET中将数据库服器的数据导出到客户端,且导出后的格式为EXCEL。
摘要: http://www.csdnback.com/show_dC8yMDA1MDgyOS8xNC80MjM3Nzg5Lmh0bWw_x003D_.html http://www.webstudy8.com/web/net/201/065118272781360.htmlhttp://www.19b.cn/asppost12/web237078.htmhttp://powerlc.cnblogs.co...
阅读全文
posted @ 2006-10-16 23:10 zhengfeng
阅读(165)
评论(0)
推荐(0)
一些常用的辅助代码 (网络收藏)
摘要: http://sxbamboo.cnblogs.com/archive/2005/07/14/192835.html
阅读全文
posted @ 2006-10-16 23:03 zhengfeng
阅读(166)
评论(0)
推荐(0)
2006年10月13日
把汉字字符转换成UTF-8的代码的方法
摘要: public string Conv(string inputString, string encodeName){ if (inputString == null) { return null; } string tempValue=null; byte[] buf = new byte[inputString.Length]; System.Text.Encoding.GetEncoding...
阅读全文
posted @ 2006-10-13 21:10 zhengfeng
阅读(421)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
博客园
© 2004-2025
浙公网安备 33010602011771号
浙ICP备2021040463号-3