2010年3月15日

摘要: inta=12345678;//格式为sring输出//Label1.Text=string.Format("asdfadsf{0}adsfasdf",a);//Label2.Text="asdfadsf"+a.ToString()+"adsfasdf";//Label1.Text=string.Format("asdfadsf{0:C}adsfasdf",a);//asdfadsf¥1,234.... 阅读全文
posted @ 2010-03-15 10:28 Gsun 阅读(319) 评论(0) 推荐(0)
摘要: C#追加文件 StreamWriter sw = File.AppendText(Server.MapPath(".")+"\\myText.txt"); sw.WriteLine("追逐理想"); sw.WriteLine("kzlll"); sw.WriteLine(".NET笔记"); sw.Flush(); sw.Close(); C#拷贝文件 string OrignFile,NewFi... 阅读全文
posted @ 2010-03-15 10:27 Gsun 阅读(331) 评论(0) 推荐(0)

导航