自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (7)
  • 收藏
  • 关注

原创 unreadable. It is excluded and would be examined next time

k8s efk 日志采集问题,日志路径设置

2024-03-05 15:13:17 365

原创 Attempting to renew cert (***.com) from /etc/letsencrypt/renewal/***.com.conf produced an unexpected

【代码】Attempting to renew cert (***.com) from /etc/letsencrypt/renewal/***.com.conf produced an unexpected。

2023-12-18 17:27:16 826 1

原创 uniapp 配置微信小程序 ci

2、配置文件,找不到siteamp.json 问题,小程序白屏问题(regeneratorRuntime is not defined)1、hbuilder 安装微信小程序上传CI插件。配置 新增 sitemap.json。3、hbuilder cli命令。

2023-11-15 14:48:52 119

原创 pages.json 解析失败

问题如下: pages.json 解析失败 xxxxx\node_modules@dcloudio\uni-cli-shared\lib\pages.js:53 if (pagesJson.pages && pagesJson.pages.length) { ^ TypeError: Cannot read property 'pages' of undefined 我的解决方法: 1、删除package-lock.json 2、 删除 node_modules 3、n

2022-04-28 15:19:20 1563

原创 C#--Lambda表达式

<br />     用.net reflector反编译的东西。一时看不懂啥东西。  ----- =><br />     提问后被人指点为lambda表达式,于是在msdn上学习了下。全是msdn上的列子.<br />http://msdn.microsoft.com/zh-cn/library/bb397687.aspx   <br />以下只是自己的一些想法。     class Program { /*1-1~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2010-12-24 19:07:00 420

原创 安装IIS时提示找不到zClientm.exe文件的问题

应为手上没有系统盘,所以从网上下载了一个iis 安装包.以前给其他电脑装过都没有问题.今天却蹦出一个"找不到zClientm.exe文件的问题".看从他提示的路径找下去果然没有.从网上搜到的一个解决办法: zClient.exe是微软Microsoft游戏中心程序,用于使你在线玩游戏。安装时可以 从组件安装向导中[附件和工具]--[游戏]--[Internet游戏]去掉.重新安装iis一切正常.

2010-08-06 13:22:00 872

原创 混沌的思绪

<br /> <br />说了一直想说的话, 说了认为不该说的话,天真的认为只是说说而已。当时那么做为了什么? 现在想一想也不知道为了什么。<br />很郁闷,这样做会不会伤到某个人,是不是真的令某人很气愤。哎.. 当时什么都没想真的。就是那么说了 就那么冲动了,可能是为了证明什么。。。。

2010-08-06 13:02:00 434

原创 改变现状

总觉的自己现在这个状态不太好(横混沌大样子)我快完了。嘿嘿,还灭活够。没办法,怕死。看了了一个大学生写的帖子明白了点什么,有人管你的时候你反抗,没人管你的时候你你迷茫,为何迷茫?我想我们活着总要有一个目标,说明白点就是活着要有奔头。改变,你就要先了解你现在是个什么状况。用一周的时间记录你每天都干了点什么,只有你知道你的现状,然后做出改变。让你的改变是可见的,就是对比你的记录。一点点

2008-09-04 22:58:00 416

关于非经营性互联网信息服务备案主体负责人授权委托书模板

关于非经营性互联网信息服务备案主体负责人授权委托书模板 阿里云app icp备案授权委托书模板

2023-10-18

文本框单机 弹出层 单击赋值

文本框单机 弹出层 单击赋值 //显示tooltip function showTipbar(tag) { setTipLocation(); _txt=tag; //取得tooltip对象 var tipbar = $("divCho"); tipbar.style.display = ""; tipbar.style.visibility='visible' //tag.value="aa"; //alert( tipbar.innerHTML); }

2011-01-12

我的MVC 简单的gridview 操作

我的MVC 简单的gridview 操作 删除 全选啊 光棒 送给大家

2009-06-19

gridview 简单代码

public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { getData(); } } //得到数据 public void getData() { this.GridView1.DataSource = BLL.mesManager.getGridData(); this.GridView1.DataBind(); } // 绑定之后发生 protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { LinkButton lbtn = (LinkButton)e.Row.FindControl("LinkButton2"); e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#6699ff'"); e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor"); string aa = e.Row.Cells[3].Text.ToString(); lbtn.Attributes.Add("OnClick", "return confirm('您确认要删除吗?')"); } } //发生时间时激发 protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "del") { int id = Convert.ToInt32(e.CommandArgument); int resultNum = BLL.mesManager.del(id); if (resultNum > 0) { Response.Write("<script>alert('删除成功');</script>"); getData(); } else { Response.Write("<script>alert('删除失败');</script>"); } } else if (e.CommandName == "upd") { int id = Convert.ToInt32(e.CommandArgument); Response.Redirect("Update.aspx?id=" + id); } } protected void GridView1_SelectedIndexChanging(object sender, GridViewSelectEventArgs e) { } //pageindexchangeing protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e) { this.GridView1.PageIndex = e.NewPageIndex; getData(); } //全部删除 protected void Button1_Click(object sender, EventArgs e) { for (int i = 0; i <= GridView1.Rows.Count - 1; i++) { CheckBox cbox = (CheckBox)GridView1.Rows[i].FindControl("CheckBox1"); if (cbox.Checked == true) { int id=Convert.ToInt32( this.GridView1.Rows[i].Cells[1].Text); BLL.mesManager.del(id); } } getData(); } }

2009-06-19

gridview 光棒效果.txt

gridview 光棒效果 简单的光棒效果 很简单的

2009-06-19

gridview checkbox 全选

//全选 js版 控制的checkbox为 input &nbsp;<input id="cbAll" type="checkbox" onclick="GetAllCheckBox(this)" />全选 <script language="javascript"> function GetAllCheckBox(CheckAll) { var items = document.getElementsByTagName("input"); for(i=0; i<items.length;i++) { if(items[i].type=="checkbox") { items[i].checked = CheckAll.checked; } } } </script>

2009-06-19

简单的几个基础sql日期函数

DateDiff (interval,date1,date2) 以interval 指定的方式,返回date2 与date1两个日期之间的差值 date2-date1

2008-12-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除