2018-12-03 C# 網頁回傳csv 108 0 C# 網頁回傳csv public System.Text.StringBuilder sb = new System.Text.StringBuilder(); return File(System.Text.Encoding.ASCII.GetBytes(sb.ToString()), "text/csv", "data.csv"); 回首頁