由於...新公司有這方面的需求,所以就做嚕!!
首先新創立一個空白的組態檔,我們把名稱設定為test1
接著 再打開我們原本專案裡的Web.config檔修改connectionStrings區塊為
這樣就大功告成嚕~
測試一下!!
YA過關!!
參考來源:連接字串和組態檔
We all change, when you think about it, we're all different people; all through our lives, and that's okay, that's good, you've gotta keep moving, so long as you remember all the people that you used to be. I will not forget one line of this, not one day, I swear.