12 2016 档案

摘要:use dbnameSELECT * FROM sysobjects WHERE (xtype = 'U')goxtype可替换为如下参数--C = CHECK 约束--D = 默认值或 DEFAULT 约束--F = FOREIGN KEY 约束--L = 日志 --FN = 标量函数--IF = 阅读全文
posted @ 2016-12-29 15:22 傲三 阅读(386) 评论(0) 推荐(0)
摘要:/// <summary> /// 金额转为大写金额 /// </summary> /// <param name="LowerMoney"></param> /// <returns></returns> public string MoneyToChinese(string LowerMoney 阅读全文
posted @ 2016-12-09 17:22 傲三 阅读(477) 评论(0) 推荐(0)
摘要:TextBox中只能输入数字的几种常用方法(C#) private void tBox_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == 0x20) e.KeyChar = (char)0; //禁止空格键 if ((e. 阅读全文
posted @ 2016-12-09 13:26 傲三 阅读(32519) 评论(0) 推荐(2)
摘要:数字(Range.NumberFormatlocal 属性)常规:Range.NumberFormatlocal = "G/通用格式"数值:Range.NumberFormatlocal = "0.000_ " --保留小数位数为3 Range.NumberFormatlocal = "0" --不 阅读全文
posted @ 2016-12-08 09:15 傲三 阅读(1518) 评论(0) 推荐(1)