数据库中的数字和编程语言中的数字有显著的不同,数据库中的数字可以为空,C#中的数字不能为空。int? x = null;
//此时x可以为空测试类(NullableTest)using System;using System.Collections.Generic;using
System.Linq...
分类:
其他好文 时间:
2014-05-09 03:20:29
阅读次数:
303
1. ConfigurationManager的命名空间:using
System.Configuration;2.To be able to save you have to use a configuration object
returned by the OpenExeConfigurati...
分类:
移动开发 时间:
2014-05-09 03:03:07
阅读次数:
596
1.创建工程文件-> 新建->网站 如下图。工程建好后,会自动添加如下代码: 1
using System; 2 using System.Linq; 3 using System.Web; 4 using
System.Web.Services; 5 using System.Web.Servic...
分类:
Web程序 时间:
2014-05-09 02:59:12
阅读次数:
608
1.bat 启动java main函数
1.将project导出JAR,过程中注意选择main class
2.新建bat,设置环境变量
3.1启动程序,如果想在黑窗口中打印数字,可以system.out,程序运行万
@echo off
@setlocal
set JAVA_HOME=jdk1.6.0_25
set PATH=%JAVA_HOME%\bin;%JAVA_HOME%\jre...
分类:
编程语言 时间:
2014-05-09 02:23:42
阅读次数:
394
这个是在昨天的基础上做的更改,测试已经满足大家的要求,如果谁有更好的办法也请交流一下
下面是代码:
'sunnyxing2004-04-01最后修改
Public Class MyTextBox
Inherits System.Windows.Forms.TextBox
Private m_strValidText As String = "0123456789.+...
分类:
其他好文 时间:
2014-05-09 01:56:38
阅读次数:
309
Intelligence System
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1250 Accepted Submission(s): 560
Problem Description
After a...
分类:
其他好文 时间:
2014-05-09 01:42:39
阅读次数:
372
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>InstallUtil.exe
C:\_PRODUKCIJA\Debug\DynamicHtmlTool.exeMicrosoft(R).NET FrameworkInstallation
utility...
分类:
其他好文 时间:
2014-05-08 23:53:56
阅读次数:
518
//
获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory//
获取模块的完整路径。System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName//
获取和设置当前目录(该进...
分类:
移动开发 时间:
2014-05-08 23:49:48
阅读次数:
364
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Net;using System.IO;using
System.Runtime.InteropService...
分类:
Web程序 时间:
2014-05-08 23:12:06
阅读次数:
622
1、首先比较简单的我们知道有类似的方法如下
System.Diagnostics.Process.Start("http://www.baidu.com");2、比较灵活一点,可以定义窗口大小,我们要实现网页中脚本打开页面的方法,即window.open
那么,我们必然会想,如何调用页面的脚本呢?其...