上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页
  2010年8月12日
摘要: Response.Expires = 0; Response.Buffer = true; Response.ExpiresAbsolute = DateTime.Now.AddSeconds(-1); Response.AddHeader("pragma", "no-cache"); Response.CacheControl = "no-cache"; 阅读全文
posted @ 2010-08-12 10:13 freexiaoyu 阅读(603) 评论(0) 推荐(0) 编辑
  2010年8月10日
摘要: string strtime = DateTime.Now.AddDays(-61).ToString("yyyy-MM-dd"); DataView dv = new DataView(ds.Tables[0]); dv.RowFilter = "addtime>='" + strtime + "'"; this.lblFavCont.Text = dv.Count.ToString(); 阅读全文
posted @ 2010-08-10 16:39 freexiaoyu 阅读(451) 评论(0) 推荐(0) 编辑
  2010年8月8日
摘要: EnableViewState="false" 引发Repeater删除无效今天测试Repeater删除 <asp:LinkButton ID="linbtnDels" runat="server" CommandArgument='<%# Eval("id") %>' oncommand="linbtnDels_Command">删除</asp:LinkButto... 阅读全文
posted @ 2010-08-08 09:16 freexiaoyu 阅读(595) 评论(2) 推荐(0) 编辑
  2010年7月31日
摘要: 因为页面要传个数组过去 用到了ArrayList Context.Items["seachlist"] = arr; Server.Transfer("JobApply.aspx"); 这样传 造成ajaxpro 类未定义目前未找到解决方法 换成了字符串传值方式并加密 阅读全文
posted @ 2010-07-31 10:20 freexiaoyu 阅读(303) 评论(0) 推荐(0) 编辑
  2010年7月30日
摘要: int ID = Convert.ToInt32(e.CommandArgument);DataRow[] rows = ds.Tables[0].Select("jobid="+ID); if (rows.Length > 0) { int iIndex = ds.Tables[0].Rows.IndexOf(rows[0]);      //删除数据但不删除行 //ds.Tables[0... 阅读全文
posted @ 2010-07-30 10:59 freexiaoyu 阅读(365) 评论(0) 推荐(0) 编辑
  2010年7月27日
摘要: Repeater外面事件得到Checkbox值 Checkbox必须是服务器控件<input type="checkbox" name="checkbox2" id="checkid" runat="server"/>foreach (RepeaterItem item in this.repjoblist.Items) { if (item.ItemType == ListItemT... 阅读全文
posted @ 2010-07-27 11:24 freexiaoyu 阅读(340) 评论(0) 推荐(0) 编辑
摘要: function funid(obj){ var chkleng=$("#seach_table input[name=checkbox2]").length; if(obj.checked) { for(i=0;i<chkleng;i++){ $("#seach_table input[name=checkbox2]").attr("checked",'true');} } else {... 阅读全文
posted @ 2010-07-27 09:32 freexiaoyu 阅读(363) 评论(0) 推荐(0) 编辑
  2010年7月1日
摘要: 今天在做项目时用到textarea 用户输入信息后显示不换行在IE下测试成功在FF没反应在飓上找了找也没找到合适的最后自己测试用存入:Replace("\r\n", "<br/>").Replace("\n","<br/>");取出时:.Replace("<br/>", "\n");IE和FF测试成功 阅读全文
posted @ 2010-07-01 11:49 freexiaoyu 阅读(556) 评论(0) 推荐(0) 编辑
  2010年6月1日
摘要: 安装SQL SERVER 2005出现“无法在 COM+ 目录中安装和配置程序集”错误处理2008-07-23 20:44 安装到Notification Services组件的时候出现以下错误提示:无法在 COM+ 目录中安装和配置程序集 D:\Program Files\Microsoft SQL Server\90\NotificationServices\9.0.... 阅读全文
posted @ 2010-06-01 10:13 freexiaoyu 阅读(723) 评论(0) 推荐(0) 编辑
  2010年4月17日
摘要: System.Data.SqlClient.SqlError: 媒体集有 2 个媒体簇,但只提供了 1 个。必须提供所有成员。 (Microsoft.SqlServer.Smo) 这是由于你备份时,没有去掉默认的C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\backup.bak,而又添加了一个新路径,结果是备份成了两份,但它们... 阅读全文
posted @ 2010-04-17 23:10 freexiaoyu 阅读(1664) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页