using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace GetSetTest{
class A { ...
分类:
其他好文 时间:
2014-05-10 07:39:24
阅读次数:
220
使用索引器的目的是为了能够像数组一样访问类中的数组型的对象。using
System;using System.Collections.Generic;using System.Linq;using
System.Text;using System.Threading.Tasks;namespace...
分类:
其他好文 时间:
2014-05-10 05:43:44
阅读次数:
218
参考资料:《大话设计模式》//模板方法模式--处理问题的步骤相同,但步骤的实现不同using
System;using System.Collections.Generic;using System.Linq;using
System.Text;namespace ds_templatemethod...
分类:
其他好文 时间:
2014-05-10 05:19:04
阅读次数:
322
参考资料:《大话设计模式》简单工厂模式://////简单工厂模式实验,2014.05.07---通过工厂类实例化对象///using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespa...
分类:
其他好文 时间:
2014-05-10 05:16:31
阅读次数:
332
参考资料《大话设计模式》using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
ds_proxy{ class Program { static ...
分类:
其他好文 时间:
2014-05-10 05:15:33
阅读次数:
290
1、mysql_insert_id(): 重新插入一段数据,获取它的ID $id =
mysql_insert_id();2、修改数据信息:UPDATE UPDATE `topic` SET `rootid`=$id WHERE
id=$id;3、ajax效果: 一个text输入框,在里面输入一个值...
分类:
其他好文 时间:
2014-05-10 03:08:54
阅读次数:
308
基本知识
1. SQL Server7 的 DeskTop 版中没有全文本检索。
2. 一个表只能有一个全文本检索。
3. 被检索的表必须有单列的唯一索引。
4. 全文本的索引存储在文件系统中,而非数据库中。
5. 更新全文本索引的过程比常规索引要耗时,而且也不象常规索引那样可以由数据库系统立即更新。
6. 全文本索引包含在全文本目录( Full-Text Catalog ...
分类:
其他好文 时间:
2014-05-09 22:54:56
阅读次数:
361
Sublime Text默认的语法高亮已经很漂亮了,但是对于个别语言还是有些不爽。
默认高亮规则叫Monokai,可以从Preferences->Settings - Default中看到:
可是这个高亮规则对Json语法的高亮却显得有点单调。上图的配置就是Json格式的。
下面说说是怎么换的。
一、下载自己喜欢的主题
Control + Shift + P打开控制台,输入IP,...
分类:
其他好文 时间:
2014-05-09 22:45:00
阅读次数:
562
INI文件的操作(ASP.NET+C#)
(一)INIFile.cs
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace CreateWebDir
{
///
/// INIFile 的摘要说明。
///
public class INIFile ...
分类:
Web程序 时间:
2014-05-09 22:18:42
阅读次数:
319
1.安装Sublime Package Control在Sublime Text
2上用Ctrl+~打开控制台并在里面输入以下代码,Sublime Text 2就会自动安装Package Control。import urllib2,os;
pf=’Package Control.sublime-p...
分类:
其他好文 时间:
2014-05-09 19:31:24
阅读次数:
270