解決方法

https://msdn.microsoft.com/en-us/library/zc6tc8ew(...

裡面的

To add data adapters, connections, and commands to the Toolbox

  1. Right-click the Toolbox and choose Choose Items.
  2. Select the items you want to add from the .NET Framework Components tab of the Choose Toolbox Itemsdialog box. For example, to use the .NET Framework Data Provider for SQL Server select the SqlDataAdapter,SqlConnection, and SqlCommand.
  3. Click OK to add the selected items to the Toolbox.

就在Data上按右鍵,選Choose Items,接著等他跑一下之後就找SqlDataAdapter勾選就可以了

arrow
arrow
    全站熱搜

    olivermode 發表在 痞客邦 留言(0) 人氣()