VS2010 建立与SQL Server2008连接,找不到 ADOConnection控件

2024-12-29 12:11:15
推荐回答(3个)
回答1:

这个控件默认不显示,
右击工具栏,点击“选择项”,在里面找找,

回答2:

AdventureWorks db = new AdventureWorks("server=.\\MSSQLSERVER2008;database=AdventureWorks;uid=sa;pwd=suzhi921");
你的串号我已经记下,采纳后我会帮你制作

回答3:

AdventureWorks db = new AdventureWorks("server=.\\MSSQLSERVER2008;database=AdventureWorks;uid=sa;pwd=suzhi921");