我在尝试剥离AD中的域名时遇到错误。ActiveDirectories WHERE mail Is Not Null and sAMAccountName = '" + txtStrName.Text + "'"; SqlCommand cmd = new SqlCommand(selectSQL, con);
SqlDataReaderread
可以使用完全限定域名在MySQL服务器上连接吗?例如:Dim con As MySqlConnection = New MySqlConnection("Data Source=192.168.90.99;Database=testdb;UserID=testadmin;Password=adminpass;")Dim con As MySqlConnection = New MySqlConnection("Data Source=myserver.oldcompany.com