上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 28 下一页
摘要: 设置Cookies方法一:设置Cookies方法二:Asp.Net中Response.Cookies.Remove 无法删除COOKIE的问题解决方法登陆功能经常需要使用Cookie来存储登陆信息,可是在开发过程中,经常发现cookie无法删除的问题。删除的代码无非就是找到Cookie并删除掉。但是... 阅读全文
posted @ 2014-08-18 15:56 linyongqin 阅读(133) 评论(0) 推荐(0)
摘要: 数据表:表名:Tb_Column表结构(所有字段非空):Column_IDint主键(注:非标识)Column_Namenvarchar(50)分类名称Parent_IDint父分类ID(默认值0)Column_Pathnvarchar(1000)分类路径Column_Depthint分类深度(默认... 阅读全文
posted @ 2014-08-18 15:53 linyongqin 阅读(225) 评论(0) 推荐(0)
摘要: hdList.aspx 文件 ... 阅读全文
posted @ 2014-08-18 11:50 linyongqin 阅读(179) 评论(0) 推荐(0)
摘要: /******************* 华丽的分隔线 *******************/ /// 根据列字段合并GridView /// GridView合并行 /// Grid控件 /// 列索引 public ... 阅读全文
posted @ 2014-08-18 11:47 linyongqin 阅读(141) 评论(0) 推荐(0)
摘要: protected void Page_Load(object sender, EventArgs e) { Response.Write(HttpContext.Current.Request.ServerVariables["HTTP_USER_AGENT"]+"")... 阅读全文
posted @ 2014-08-18 11:43 linyongqin 阅读(277) 评论(0) 推荐(0)
摘要: /******************** TelPhoneFun.aspx ********************/ ... 阅读全文
posted @ 2014-08-18 11:42 linyongqin 阅读(255) 评论(0) 推荐(0)
摘要: 实现原理:GridView在ASP.NET中最终转为HMTL的表格显示表头。 在GridView创建行表头行时: e.Row.RowType == DatacontrolRowType.Header 清除掉旧的表头, 再重新拼接新的表头.TableHeaderCell thc = new Table... 阅读全文
posted @ 2014-08-18 11:37 linyongqin 阅读(711) 评论(0) 推荐(0)
摘要: Default.aspxExcel文件: 工作表名称: Default.aspx.cs //上传Excel protected void btnExcel_Click(object sender, EventArgs e) { ... 阅读全文
posted @ 2014-08-18 11:13 linyongqin 阅读(125) 评论(0) 推荐(0)
摘要: public void ToExcel(System.Web.UI.Control ctl, string FileName) { HttpContext.Current.Response.Charset = "UTF-8"; ... 阅读全文
posted @ 2014-08-18 11:10 linyongqin 阅读(154) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Text.RegularExpressions;namespace ConsoleString{ cla... 阅读全文
posted @ 2014-08-18 10:42 linyongqin 阅读(94) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 28 下一页