摘要:
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3" /v "1406" /t REG_DWORD /d "0" /f 阅读全文
摘要:
View Code 1 CREATE PROCEDURE dbo.Pr_SplitData 2 3 AS 4 5 DECLARE @Result INT 6 DECLARE @Res INT 7 8 --用于保存TMCountTemp表中的数据 9 DECLARE @UU INT 10 DECLARE @TempUU VARCHAR(8) 11 DECLARE @ComUU INT 12 DECLARE @Time ... 阅读全文
摘要:
public void WriteMessage(string filename, string message, string method) { string path = GetAssemblyPath() + @"\errorlog.txt"; FileStream fs = new FileStream(path, FileMode.OpenOrCreate, FileAccess.ReadWrite); using (StreamWriter sw = new StreamWriter(fs)) { sw.BaseStream.Seek(0, SeekOrigi 阅读全文
摘要:
int aa = 111;string aastr = aa.ToString("0000000");//或string aastr = aa.ToString().PadLeft(7,'0');string.Format(" {0:d7}", i);123.ToString("d7"); 阅读全文