using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading;//using
System.Threading.Tasks;using System.I...
分类:
编程语言 时间:
2014-05-19 20:01:31
阅读次数:
258
今天接触到两个新的类型,查了一下才发现它们已经出现好久了,特作一下标记Nullable结构在System命名空间下,在 .NET Framework 2.0
版中是新增的;用它定义的值类型的对象与引用类型一样也可以分配空引用这样看来有点和 int? a 有点相似,根据不同的应用场合,我们会经常使用可...
分类:
其他好文 时间:
2014-05-19 19:13:29
阅读次数:
226
文章转载地址:http://blog.csdn.net/intel80586/article/details/8487682
+http://www.myexception.cn/operating-system/1616547.htmlMAC
OSX使用Python安装模块问题系统环境:MAC O...
分类:
数据库 时间:
2014-05-19 19:07:50
阅读次数:
448
初学MVC,感觉跟以前的aspx页面差别很大,我们就先来看看MVC的表单是怎么提交的吧。现在我们用一个最简单的例子来看一看MVC是怎么提交表单的(这一个例子中,我们的关注点是如何提交表单,所以不涉及到任何的业务逻辑)Model:using
System;using System.Collection...
分类:
Web程序 时间:
2014-05-19 17:02:09
阅读次数:
273
public classTest {public Test()
{System.out.println("
构造函数");}@1:静态初始化块static{System.out.println("static{}");}@2:初始化块{System.out.println("{}");}public...
分类:
编程语言 时间:
2014-05-19 15:35:02
阅读次数:
295
域和静态方法不具有多态性:public class Test3 { public static
void main(String[] args) { Super sup = new Sub(); System.out.println(sup.field);
System.out.println...
分类:
其他好文 时间:
2014-05-19 14:28:59
阅读次数:
314
HtmlHelper:获取或设置 System.Web.Mvc.HtmlHelper
对象,该对象用于呈现 HTML 元素。 以下是Html的写法与生成的结果的对比 @Html.Label("label1")
@Html.TextBox("textBox1") @Html.TextBox...
分类:
Web程序 时间:
2014-05-19 14:03:35
阅读次数:
382
using System;using System.Data;using
System.Configuration;using System.Web;using System.Web.Security;using
System.Web.UI;using System.Web.UI.WebContro...
分类:
其他好文 时间:
2014-05-19 13:39:55
阅读次数:
131
刚开始对配置文件的认识比较模式,按照书上讲的,往程序中添加一个App.config文件,然后添加System.configuration引用就可以了。但是真正去做的时候也遇到不少问题,小小的总结一下。
首先,为什么要使用配置文件呢?
我们在连接数据库的时候,需要有一个对象来保存连接字符串,通常情况下这个字符串是写在程序代码中的,这样如果我们更换数据库访问时,我们还是...
分类:
数据库 时间:
2014-05-18 18:32:08
阅读次数:
383
#include
#include
#include //system(); 这个指令需要用到此头文件
#include //toupper要用到
void main()
{
char letter;
do{
printf("A Display directory listling\n");
printf("B Display disk information\n");
...
分类:
其他好文 时间:
2014-05-18 06:46:07
阅读次数:
292