使用Visual Studio取得GitHub專案 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 4/26/2025 開啟Visual Studio(以下範例使用Microsoft Visual Studio Community 2022 (64 位元) - Current , 版本 17.12.4)選擇【複製存放庫】選擇【GitHub】1.輸入GitHub儲存庫URL2.選擇本機端存放位置3.點選【複製】點選【複製】後,會開始將GitHub上的專案Clone下來Clone完成後,Visual Studio會自動開啟該專案的資料夾(橘色虛線框),但這種開啟方式沒辦法直接使用所以我們在資料夾點擊滑鼠右鍵,選擇【在檔案總管中開啟資料夾】執行專案會看到Visual Studio以專案的方式開啟,並且檔案左方會有藍色的鎖頭。(如橘色虛線框)參考網址:By Hao★ 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
FTP Server 11/17/2021 用 FileZilla Server v0.9.60 架設 FTP 站 1.執行FileZilla_Server-0_9_60.exe安裝檔 參考 https://briian.com/4618/3/ 閱讀完整內容
[C#] Convert Excel to PDF 8/01/2020 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using Spire.Xls; namespace ToPDF { class Program { static void Main(string[] args) { string tempPath = HttpRuntime.AppDomainAppPath.ToString() + "\\Report\\"; Workbook workbook = new Workbook(); workbook.LoadFromFile(tempPath + "Sample.xlsx", ExcelVersion.Version2010); for(int i = 0; i < workbook.Worksheets.Count; i++) { workbook.Worksheets[i].PageSetup.Orientation = PageOrientationType.Landscape; workbook.Worksheets[i].PageSetup.IsFitToPage = true; } workbook.SaveToFile(tempPath + "result.pdf", Spire.Xls.FileFormat.PDF); } } } 參考網址 By Hao★ 閱讀完整內容
[C#] 取得Guid 8/23/2023 取得Guid using System; Console.WriteLine(Guid.NewGuid()); 參考網址: https://learn.microsoft.com/zh-tw/dotnet/api/system.guid.newguid?view=net-7.0 https://blog.csdn.net/WuLex/article/details/109571681 By Hao★ 閱讀完整內容
留言
張貼留言
歡迎留言