摘要: public class MoneyConvertChinese { /// <summary> ///金额转换成大写 /// </summary> /// <param name="LowerMoney">要转换的金额</param> /// <returns>大写金额</returns> public string MoneyToChinese(string LowerMoney) { string functionReturnValue = null; bool IsNegative = fals 阅读全文
posted @ 2011-05-28 11:09 风云8 阅读(380) 评论(0) 推荐(0)
摘要: namespace ToolsStringOption{ /// <summary> /// 全半角的转换 /// </summary> public class DBCAndSBC { /// <summary> /// 半角转换成全角 /// 全角的(SBC) 的空格为12288,半角(DBC)的空格为:32 /// 半角的字母为:33-126,对应的全角为:65281-65374 /// 除空格外。其他的全半角相差65248 /// </summary> /// <param name="input">输入的 阅读全文
posted @ 2011-05-28 11:07 风云8 阅读(259) 评论(0) 推荐(0)
摘要: /// <summary> /// 加密解密类 /// </summary> public class EncryptAndDescrypt { private SymmetricAlgorithm myjl;//表示所有对称算法的实现都必须从中继承的抽象基类。 private const string CIV = "abceftjp152=";//密钥 private const string CKEY = "Acefslqbqjs=";//初始化向量 /// <summary> /// 生成加密解密类 /// &l 阅读全文
posted @ 2011-05-28 11:06 风云8 阅读(551) 评论(0) 推荐(0)