1: 2: // 创建日期: 2008-04-23 3: // 说 明:
日期,时间处理相关的类,大多转换为字符串。 4: using System; 5: using System.Collections.Generic; 6:
using System.Text; 7: 8: namespace...
分类:
其他好文 时间:
2014-05-09 23:38:25
阅读次数:
459
1: using System; 2: using
System.Collections.Generic; 3: using System.Linq; 4: using System.Text; 5: 6:
namespace AkDTH.Common 7: { 8: /// 9: /// 时间字符...
分类:
其他好文 时间:
2014-05-09 23:29:10
阅读次数:
400
在设备管理器的usb设备的属性中,显示提示“由于其配置信息(注册表中的)不完整或已损坏,Windows
无法启动这个硬件设备”。注册表坏了。经过查询,解决方法如下:
方法:打开注册表编辑器(开始--》运行--》regedit),依次展开HKEY_LOCAL_MACHINE/SYSTEM/Curre....
jdk源码学习java.math包
阅读JDK源代码java.math中的
java.math.BigDecimal
java.math.BigInteger
java.math.BitSieve
java.math.MathContext
java.math.MutableBigInteger
java.math.RoundingMode
java.math.SignedMuta...
分类:
编程语言 时间:
2014-05-09 22:09:03
阅读次数:
487
在ASP.NET使用javascript的一点小技巧
我们在进行ASP.NET开发时,经常会用到一些javascript脚本,比如:
private void Button1_Click(object sender, System.EventArgs e)
{
Response.Write( "alert('OK');") ;
}
经常是重复的书写这些脚本,如果我们能做成一个相...
分类:
编程语言 时间:
2014-05-09 21:12:11
阅读次数:
268
一、数学库
1. 随机数
math.randomseed(os.time()); -- 设置随机种子
for i=1, 100 do
print(math.random(-1000,1000)); -- 随机区间 [-1000,1000], math.random(1000) 表示 [1,1000]
end;
2. 最大,最小值
math.max...
分类:
其他好文 时间:
2014-05-09 20:58:11
阅读次数:
669
using UnityEngine;using System.Collections;public
class MoveSample : MonoBehaviour{ void Start(){ //iTween.MoveBy(gameObject,
iTween.Hash("x", 2, "e.....
分类:
其他好文 时间:
2014-05-09 20:11:02
阅读次数:
455
方法一 .net(C#) //加入引用 using System.Web.Security;
//获取User MembershipUser user = Membership.GetUser(); if(user ! = null) { //用户操作
user.UserName user.Emai...
分类:
Web程序 时间:
2014-05-09 20:07:05
阅读次数:
303
using System;using System.IO;using
System.Security.Cryptography;using System.Text;namespace Test{ public class
MD5Code { /// /// ...
分类:
其他好文 时间:
2014-05-09 19:43:27
阅读次数:
277
最近项目上的一个上传文件功能,贴出来大家一起分享下,项目是MVC+EF+LigerUI
来做的页面需要引用这个JS 跟 CSS首先在页面添加Upload.ashx然后代码如下:using System;using
System.Collections.Generic;using System.Lin...
分类:
其他好文 时间:
2014-05-09 19:29:00
阅读次数:
453