摘要: int pagesize = 3; int pageindex = 0; if (pageindex { pageindex = 1; } pageindex = Convert.ToInt32(Request.QueryString["pageindex"]) ; DataClassesData... 阅读全文
posted @ 2009-09-01 00:58 悟〈--觉 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 库里表的结构如下:id ParentId父类ID name名称 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->前台页代码如下:div>Resp... 阅读全文
posted @ 2009-08-03 17:02 悟〈--觉 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: http://feiyu.asgard.cn/jquery/fxmarquee/ 阅读全文
posted @ 2009-07-23 17:34 悟〈--觉 阅读(280) 评论(0) 推荐(0) 编辑
摘要: http://developer.51cto.com/art/200906/131898.htm 阅读全文
posted @ 2009-07-23 13:32 悟〈--觉 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 前台页如下:其实主要的思路是,首先把要修改的那个字段绑定为不可见的,然后在后台的private void DataGrid1_ItemCreated(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e){ if(e.Ite... 阅读全文
posted @ 2009-07-23 09:35 悟〈--觉 阅读(379) 评论(0) 推荐(0) 编辑
摘要: /*******************************************************************************/不同的浏览器,比如Internet Explorer 6,Internet Explorer 7,Mozilla Firefox等,对CS... 阅读全文
posted @ 2009-07-23 09:25 悟〈--觉 阅读(264) 评论(0) 推荐(0) 编辑
摘要: //处理JSON数据格式public string json(string json){string []index1=Getindex(json,"\'").Split(',');string []index2=Getindex(json,"\\“).split(',');for(int i=0;... 阅读全文
posted @ 2009-07-17 14:38 悟〈--觉 阅读(460) 评论(1) 推荐(0) 编辑
摘要: //给时间添加天function AddDay(strInterval, Number, dtTmp) { switch (strInterval) { case 's': return new Date(Date.parse(dtTmp) + (1000 * Number)); case 'n':... 阅读全文
posted @ 2009-07-15 17:47 悟〈--觉 阅读(368) 评论(0) 推荐(0) 编辑
摘要: this.DataGrid1.AllowPaging=false;Bind(DataGrid1,"select * from [work]");Response.Clear();Response.Charset="utf-8"; //输出string Title = this.Title.Text;... 阅读全文
posted @ 2009-07-15 17:10 悟〈--觉 阅读(6812) 评论(0) 推荐(0) 编辑
摘要: protected void Calendar1_SelectionChanged(object sender, EventArgs e) { this.TextBox1.Text = this.Calendar1.SelectedDate.ToString("yyyy-MM-dd"); } 阅读全文
posted @ 2009-06-24 18:42 悟〈--觉 阅读(226) 评论(0) 推荐(0) 编辑