2013年9月17日 星期二

test 1



fdsafds



12abc12





SELECT SupplierID, ProductName, UnitPrice,
ROW_NUMBER() OVER ( Partition by SupplierID Order by UnitPrice )
FROM Products WHERE UnitPrice>8




// 使用 File 物件開檔
FileStream fs1 = File.Open(@"c:\VITO\log.txt", FileMode.Create); //若檔案存在則覆寫
FileStream fs2 = File.Open(@"c:\VITO\log.txt", FileMode.OpenOrCreate, FileAccess.ReadWrite); //若檔案存在則開啟,不存在則新建
fs1.Close();
fs2.Close();

// 使用 FileInfo 物件開檔
FileInfo fileinfo = new FileInfo(@"c:\VITO\log.txt");
FileStream fs3 = fileinfo.Open(FileMode.Create);
fs3.Close();



沒有留言:

張貼留言