摘要: 1 DECLARE @i INT 2 DECLARE @len INT 3 SET @i = 1 4 SET @len = 131 5 6 WHILE @i <= @len 7 BEGIN 8 BEGIN TRY 9 PRINT LEFT(CONVERT(VARCHAR, @i) + ' ', 4) + CONVERT(VARCHAR, GETDATE(), @i)10 END TRY11 BEGIN CATCH12 --PRINT LEFT(CONVERT(VARCHAR, @i) + ' ', 4) + '本... 阅读全文
posted @ 2014-03-25 18:51 Thirty 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 1 private void Button_Click(object sender, RoutedEventArgs e) 2 { 3 string xaml = GetFrameworkTemplate(b2); 4 FileStream fs = File.Open("" + DateTime.Now.ToString("yyyyMMddHHmmss") + ".xml", FileMode.OpenOrCreate, FileAccess.ReadWrite); 5 6 byte[] bytes ... 阅读全文
posted @ 2014-03-25 18:42 Thirty 阅读(195) 评论(0) 推荐(0) 编辑