03 2013 档案
摘要:1: /// <summary> 2: /// 在服务器端写Console.Write,在VS的输出框是打印不出来的,用下面的方式可以打印的出来。 3: /// </summary> 4: /// <param name="message">要输出的信息</param> 5: private void PrintLogInformation(s...
阅读全文
摘要:1: //将object类型转换成时间,如果能转的话。 2: protected DateTime GetDataTime(object obj) 3: { 4: if (obj == null) 5: { 6: return DateTime.Now; ...
阅读全文
摘要:1: private void btnCompare_Click(object sender, EventArgs e) 2: { 3: string[] orgList = this.textBox1.Text.Trim().Split(','); 4: string[] lastList = this.textBox2.Text.Tr...
阅读全文
摘要:1: Sub Macro1() 2: Dim i As Integer 3: Dim x As String 4: For i = 1 To Sheet1.UsedRange.Rows.Count 5: With Sheet1.Rows(i).Interior 6: ...
阅读全文