Jenney Zhao

导航

11 2012 档案

ToString() 格式化字符串总结
摘要:ToString()的标准格式化字符串分为3大类:枚举类型的格式化字符串,数值类型的格式化字符串,和日期时间类型的格式化字符串。日期时间类型的格式化字符串请见我的博客DateTime格式字符串。Enumeration Format StringsFormat stringResultG or gDisplays the enumeration entry as a string value, if possible, and otherwise displays the integer value of the current instance. If the enumeration is d 阅读全文

posted @ 2012-11-07 14:58 Jenney Zhao 阅读(299) 评论(0) 推荐(0)

char, varchar, nchar, nvarchar (Transact-SQL)
摘要:char 和 varchar (Transact-SQL)长度固定或可变的字符串数据类型。char[ ( n) ]固定长度,非 Unicode 字符串数据。 n 用于定义字符串长度,并且它必须为 1 到 8,000 之间的值。 存储大小为 n 字节。 char 的 ISO 同义词为 characte... 阅读全文

posted @ 2012-11-02 10:14 Jenney Zhao 阅读(177) 评论(0) 推荐(0)