方法很簡單,在當案總管理,新增一個文字文件,然後將 txt 副檔名改成 udl,會發現小圖也會跟這改變。
直接 double click 檔案就可以設定資料連線
用 notepad 就可以開啟連線字串內容如下:
[oledb]
; Everything after this line is an OLE DB initstring
Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Northwind;Data Source=localhost