- 博客(16)
- 收藏
- 关注
原创 简体转换
将以下代码保存为fj.htm,就可以使用了。 "http://www.w3.org/TR/html4/loose.dtd"> 汉字简体繁体转换 http://www.ip138.com> function copy(ob) { var obj=findObj(ob); if (obj) { obj.select();js=obj.createTextRange
2011-11-30 20:40:37 9285
原创 TreeView
private void bindTree() { DataTable dt = this.GetTreeData(); this.FillNode(dt, null); } private void FillNode(DataTable dt, TreeNode node) { DataView dv
2011-11-29 21:09:31 606
原创 repeater控件
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> http://www.w3.org/1999/xhtml"> onitemcommand="Repeater1_ItemCommand">
2011-11-28 21:39:31 309
原创 分页按钮代码
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Configuration; using System.Data.SqlClien
2011-11-24 20:58:45 362
原创 Gridview删除时弹出小对话框
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; public partial class _Default : Sys
2011-11-23 20:01:59 516
原创 student 类库
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Web.UI.WebControls;
2011-11-22 19:55:26 299
原创 数据绑定
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page {
2011-11-21 21:33:00 238
原创 生成随机数
//获取随机数字 b.html function getran() { var ran =document.cookie; var ran1=ran.split(";"); for(var i=0;i { var index=ran1[i].indexOf("GetNum="); if(index==1)
2011-11-16 20:09:40 276
原创 二级菜单
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> http://www.w3.org/1999/xhtml" > 通用的二级菜单 #menu { width:300px; margin:auto; } #div1
2011-11-15 20:43:11 405
原创 注册登录
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; public partial class zhuc
2011-11-14 21:03:12 440
原创 动态生成表
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Data;
2011-11-10 21:16:13 1264
原创 实现用户验证
今天学的是成员资格管理 enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidP
2011-11-09 21:02:35 256
原创 泛型举例
#region 泛型方法 int a = 10; int b = 20; this.Swap(ref a, ref b); //Swap(ref a,ref b); Response.Write(string.Format("a:{0};b:{1}", a, b)); public void Swap(
2011-11-08 20:31:12 361
原创 System.Collections命名空间
#region hashtable Person zhang = new Person("张", "三"); Person li = new Person("李", "四"); Person wang = new Person("王", "五"); Hashtable hash = new Hashtable();
2011-11-07 19:06:01 430
原创 设置空间皮肤
在Theme中添加theme1 默认的外观模板。以下外观仅作为示例提供。 1. 命名的控件外观。SkinId 的定义应唯一,因为在同一主题中不允许一个控件类型有重复的 SkinId。 2. 默认外观。未定义 SkinId。在同一主题中每个控件类型只允许有一个默认的控件外观。 --%> Theme="Theme1" Languag
2011-11-05 18:46:36 311
原创 母版页
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> http://www.w3.org/1999/xhtml"> Width="95px" Font-Size="Large" onclick=
2011-11-05 10:21:07 239
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人