资 源 简 介
SQLDMO.Application SQLServer = new SQLDMO.Application();
SQLDMO.NameList strServerList = SQLServer.ListAvailableSQLServers();
if (strServerList.Count > 0)
{
for (int i = 0; i < strServerList.Count; i++)
{
toolStripTextBox1.Items.Add(strServerList.Item(i + 1));
}
}
&nbs