09 2015 档案
摘要:--创建表:GOCREATE TABLE [dbo].[tb1]( [Id] [int] NOT NULL, [c1] [nvarchar](50) NULL, [c2] [datetime] NULL,CONSTRAINT [PK_Table1] PRIMARY KEY CLUSTERED( [I...
阅读全文
摘要:一、 1、取字符串的前i个字符 (1)string str1=str.Substring(0,i); (2)string str1=str.Remove(i,str.Length-i); 2、去掉字符串的前i个字符 string str1=str.Remove(0,i); string str1=s
阅读全文
摘要:本文较详细地介绍了C#的DateTime对象的使用方法.DateTime.Now.ToShortTimeString() DateTime dt = DateTime.Now; dt.ToString();//2005/11/5 13:21:25 dt.ToFileTime().ToString()
阅读全文