摘要: {{:#data.Name}} 或 {{:Name}} 直接显示html格式{{>#data.Name}} 或 {{>Name}} 转义显示html字符if else{{if bool }} {{else}} {{/if}}for{{for Result.joblist }}Id}}">... 阅读全文
posted @ 2015-08-20 14:11 小羽毛的天空 阅读(472) 评论(0) 推荐(0) 编辑
摘要: UPDATE a,bSET ps=if(ps='0','1',ps),uptime=if(ps='0',acttime,uptime),pw=if(ps='0','123',pw)where eo_on in(select id fromb where status ='1') and a.on=b.id 阅读全文
posted @ 2012-05-09 12:59 小羽毛的天空 阅读(595) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2011-12-31 10:30 小羽毛的天空 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 1. 调整IIS 7应用程序池队列长度由原来的默认1000改为65535。IIS Manager > ApplicationPools > Advanced SettingsQueue Length : 655352. 调整IIS 7的appConcurrentRequestLimit设置由原来的默认5000改为100000。直接运行:C:\Windows\System32\inetsrv\appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:100000在%systemroot%\Syste 阅读全文
posted @ 2011-12-31 10:23 小羽毛的天空 阅读(2147) 评论(0) 推荐(0) 编辑
摘要: 看了好几篇关于编程还有html管用登录页面的介绍~很多人都觉得登录很简单!但是今天看了别人写的登录以后我也想写一篇小小的一个登录页面却要用到你所学的一堆只是比如:数据库访问,数据库修改添加,cookies,session,response,正则,html,JS,AJAX等等这个东西浓缩成一个小窗口莪切需要最简洁最清楚明白的看完感觉我都成半吊子了总之最后一句话努力吧! 阅读全文
posted @ 2011-11-11 15:17 小羽毛的天空 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 遍历返回的listCheckBox[] cl = GetLableList(tabPage1).ToArray<CheckBox>();foreach (CheckBox c in cl){ MessageBox.Show(c.Name);}传入控件检查空间内CheckBox添加到listprivate List<CheckBox> GetLableList(Control ctro) { List<CheckBox> list =new List<CheckBox>(); foreach (object var in ctro.... 阅读全文
posted @ 2011-08-11 10:35 小羽毛的天空 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 编辑器加载中... if (pid != "System.Data.DataRowView"){ DataSet dsc = bbc.GetList("fid=1"); cbPCFour.DataSource = dsc.Tables[0].DefaultView; cbPCFour.DisplayMember = "name"; cbPCFour.ValueMember = "Id";} 阅读全文
posted @ 2011-08-10 15:32 小羽毛的天空 阅读(113) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Linq;using System.Web;using System.Web.Services;using System.Web.Services.Protocols;using System.Xml.Linq;using System.IO;using System.Configuration;namespace UpDownFile{ /// <summary> /// UpDownSe 阅读全文
posted @ 2011-07-11 16:56 小羽毛的天空 阅读(237) 评论(0) 推荐(0) 编辑
摘要: public string servicepath = ""; public StringBuilder pathstr = new StringBuilder(); private void btnExplo_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog() == DialogResult.OK) { textImagePath.Text = openFileDialog1.... 阅读全文
posted @ 2011-07-11 16:24 小羽毛的天空 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 需要知道form窗体有designer.cs和.cs两部分首先修改designer.cs中的内容引用using System.Windows.Forms;添加声明类publicclass ToolStripDateTimePicker : ToolStripControlHost { public ToolStripDateTimePicker() : base(new DateTimePicker()) { } }private void InitializeComponent() 中添加以下代码this.tsDataFrom =new Ba... 阅读全文
posted @ 2011-05-18 16:54 小羽毛的天空 阅读(296) 评论(0) 推荐(1) 编辑