Hi,
Probably System.Web.UI.WebControls and Microsoft.SqlServer.Management.Smo are both declared with using at the top of the class. And when you type Table it can not decide which table it it so use it full named like 'Microsoft.SqlServer.Management.Smo.Table'
Probably System.Web.UI.WebControls and Microsoft.SqlServer.Management.Smo are both declared with using at the top of the class. And when you type Table it can not decide which table it it so use it full named like 'Microsoft.SqlServer.Management.Smo.Table'
本文讨论了在使用System.Web.UI.WebControls和Microsoft.SqlServer.Management.Smo时遇到的命名冲突问题。当两个库中存在相同名称的对象时,如Table,系统无法确定使用哪一个。文章提供了如何通过完全限定名来指定具体使用的Table实例的方法。

292

被折叠的 条评论
为什么被折叠?



