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