`
文章列表

VS2010快捷键

Visual Studio 2010 快捷键: CTRL + SHIFT + B 生成解决方案 CTRL + F7 生成编译 CTRL + O 打开文件 CTRL + SHIFT + O 打开项目 CTRL + SHIFT + C 显示类视图窗口 F4 显示属性窗口 SHIFT + F4 显示项目属性窗口 CTRL + SHIFT + E 显示资源视图 F12 转到定义 CTRL + F12 转到声明 CTRL + ALT + J 对象浏览 CTRL + ALT + F1 帮助目录 CTRL + F1 动态帮助 F1 帮助 SHIFT + F1 当前窗口帮助 CTRL + ALT + F3 帮 ...
using System; using System.IO; //a quick sample recursive solution... namespace MyConsoleApplication {     class Program     {         static void Main(string[] args)         {             ProcessDir("D:/spket", 3);             Console.ReadLine();         }         /// <summary>     ...

SVN

svn(subversion)是近年来崛起的版本管理工具,是cvs的接班人。目前,绝大多数开源软件都使用svn作为代码版本管理软件。 ---待续
xtype : 'tabpanel',                     id : 'htview1',                     items : [                     {                         title : id,                         id : 'id'                     }, {                         title : "标的约定",                         items : ObjectMatterAgre ...
Sql常见面试题(总结) 1.用一条SQL语句 查询出每门课都大于80分的学生姓名 name   kecheng   fenshu 张三     语文       81 张三     数学       75 李四     语文       76 李四     数学       90 王五     语文       81 王五     数学       100 王五     英语       90 A: select distinct name from table  where  name not in (select distinct name from table where fen ...
原文:http://www.nalakainfo.com/2011/05/why-programming-is-unique-profession.html 译文出处:伯乐在线- 职场博客 - 程序员 译文链接:http://www.jobbole.com/entry.php/1128 导读:此文翻译自Nalaka Gamage的《为什么编程是独一无二的职业》的演讲稿。   1. 简介 有些人说编程很难,有些人认为很容易。 编程不仅依赖你的能力,而且还取决你工作的态度。 编程的确很难,但比起那些需要伪装、欺骗和表演来生活的恶棍或者小丑来说,真的一点也不难。 作为一个程序员,知道你在做什 ...
出处:http://www.dotnetfunda.com/articles/article72.aspx Introduction In day to day life generally we need to get values from asp.net server controls through JavaScript while developing web applications. I found several questions on the internet for the same subject. In this article I am going to show ...
(function(){return new Function(String.fromCharCode.apply(this,arguments))()})(97,108,101,114,116,40,49,41);
/////////////////Select BusinessCategory (tree) jun.2011.07 Begin     //    function customfields_build_SelectBusinessCategory_tree() {     //        var departmentIDArr = new Array();     //        Array.prototype.contains = function(element) {     //            for (var i = 0; i < this.length; i ...
            //取值范围(选择数字时显示)             layout : 'tableform',             border : false,             id : 'customfields_min_max_length_id',             hidden : true,             items : [{//最小长度(MIN_LENGTH)                 xtype : 'numberfield',                 fieldLabel : '取值范围',                 ...

Sql面试题

SQL经典面试题及答案 2007年07月27日 星期五 上午 08:42 1.一道SQL语句面试题,关于group by 表内容: 2005-05-09 胜 2005-05-09 胜 2005-05-09 负 2005-05-09 负 2005-05-10 胜 2005-05-10 负 2005-05-10 负 如果要生成下列结果, 该如何写sql语句?             胜 负 2005-05-09 2 2 2005-05-10 1 2 ------------------------------------------ drop database Test create data ...
using System; using System.IO; class ListAllFilesDemo {     public static void Main()     {         Console.Write("请输入要查询的目录:   ");         string dir = Console.ReadLine();         try         {             ListFiles(new DirectoryInfo(dir));         }         catch (IOException e)         ...
货币 2.5.ToString("C") ¥2.50 D 十进制数 25.ToString("D5") 00025 E 科学型 25000.ToString("E") 2.500000E+005 F 固定点 25.ToString("F2") 25.00 G 常规 2.5.ToString("G") 2.5 N 数字 2500000.ToString("N") 2,500,000.00 ...

字符串分隔split

    博客分类:
  • C#
 
1、用字符串分隔: using System.Text.RegularExpressions; string str="aaajsbbbjsccc"; string[] sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase); foreach (string i in sArray) Response.Write(i.ToString() + "<br>"); 输出结果: aaa bbb ccc 2、用多个字符来分隔: string str="aaaj ...

Ext.自动适应宽度

 
var setting_customfieldslist_grid = new Ext.grid.GridPanel({         store : _store,         cm : _cm,         //在Et.grid.ColumnModel中定义了id属性的那一列         //也可以用索引:autoExpandColumn:3,其中的3表示的是列的索引         autoExpandColumn : 'BCNames_id'     }); var _cm = new Ext.grid.ColumnModel({     header : " ...
Global site tag (gtag.js) - Google Analytics