1.根据控件的name获取控件$("input[name='objName']")....../*$("check[name='objName']")......*/ $("[name=objName]:checkbox")......$("select[name='objName']")...... Read More
1 CREATE OR REPLACE PROCEDURE TESTPRO(PARAM1 IN VARCHAR2,PARAM2 IN VARCHAR2) AS 2 BEGIN 3 INSERT INTO TESTTABLE (ID,NAME) VALUES (PARAM1,... Read More
Map map = new TreeMap();map.put("j2se", 20);map.put("j2ee", 10);map.put("j2me", 30);List> infoIds = new ArrayList>(map.entrySet());//排序前for (int i = 0... Read More
1杀掉tomcat 进程用ssh登陆到服务器lsof -i:8080 //找到端口ps -ef|grep tomcat kill -9 端口2找到tomcat目下的startup.sh启动tomcat服务 Read More
maven打包命令:mvn assembly:assembly打包成jar包需要修改配置把unpack改成false文件在:C:\Users\Administrator\.m2\repository\org\apache\maven\plugins\maven-assembly-plugin\2.2... Read More
下面是从UltraEdit文档中摘录的语法说明:正则表达式 (UltraEdit 语法):符号功能%匹配行首 – 表示搜索字符串必须在行首,但不包括任何选定的结果字符中的行终止字符。$匹配行尾 – 表示搜索字符串必须在行尾,但不包括任何选定的结果字符中的行终止字符。?匹配任何除换行符的字符。*匹配任何除换行符外所出现的任意数量的字符。+匹配一个或多个前面的字符/表达式。必须找到至少一个出现的字符。不匹配重复的换行符。++0 次或多次匹配前面的字符/表达式。不匹配重复的换行符。^b匹配一个分页符。^p匹配一个换行符 (CR/LF) (段落) (DOS 文件)^r匹配一个换行符 (仅 CR) (段 Read More
01.//先拖一个notifyIcon控件进来 02. 03.//然后在您的notifyIcon控件中添加 MouseDoubleClick事件,代码如下 04. 05. private void notifyIcon1_MouseDoubleClick(object sender, MouseEventArgs e) 06.{ 07.this.notifyIcon1.Visible = false; 08.base.ShowInTaskbar = true; 09.this.Activate(); 10.this.Show(); 11.base.WindowState... Read More
RegistryKey extsubkey = Registry.ClassesRoot.OpenSubKey(".doc"); string extdefaultvalue = extsubkey.GetValue(null) as string; //if (extdefaultvalue.Equals("exefile", StringComparison.OrdinalIgnoreCase)) //扩展名类型是可执行文件 //{ RegistryKey exefilesubkey = Registry.ClassesRoot.OpenSubKey Read More
RepositoryItemComboBox cbbEnd = new RepositoryItemComboBox(); cbbEnd.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; cbbEnd.SelectedIndexChanged += new EventHandler(cbbEnd_SelectedIndexChanged); foreach (var m in m_lineResult) ... Read More
绑定用法 StringBuilder sb = new StringBuilder(); sb.AppendFormat("select id, filename, addtime from gf_mxd"); //gridControl1.DataSource = cklbxList.DataSource = BaseApp.DBOper.dbhelper.DoQueryEx("tb", sb.ToString(), true); cklbxList.DisplayMember = "FILENAME"; ... Read More