提示错误!!!!
c#程序在一些XP下执行
private void cbxDBName_DropDown(object sender, System.EventArgs e)
{
btnSave.Enabled=true;
btnCnn.Enabled = true;
//判断是否录入完毕
if(this.txtPWD.Text == "" || this.txtServer.Text == "" || this.txtUser.Text == "")
{
MessageBox.Show("请将上面三项信息录入完毕!","系统提示信息",MessageBoxButtons.OK,MessageBoxIcon.Warning);
return;
}
//--------根据连接的成功与否,判断是否可选择数据库
System.Data.SqlClient.SqlDataReader dreader;
sqlCmd.CommandText = "select Name from sysdatabases;";
//sqlCommand1.CommandType = CommandType.Text;
try
{
sqlCnn.ConnectionString = "data source=" + txtServer.Text.ToString().Trim() + 
";initial catalog=master;user id=" + 
txtUser.Text.ToString().Trim() + ";password=" + txtPWD.Text.ToString().Trim()  + 
";workstation id=" + sqlCnn.WorkstationId + ";persist security info=True;packet size=4096" ;
sqlCnn.Open();
}
catch(System.Exception ef)
{
MessageBox.Show("连接数据库出错:"+ef.ToString(),"提示信息",MessageBoxButtons.OK,MessageBoxIcon.Warning);
sqlCnn.Close();
txtServer.Focus();
return;
}
            
//-------将默认的连接的所有库库显示在文本中
try
{
dreader = sqlCmd.ExecuteReader();

cbxDBName.Items.Clear();
while (dreader.Read()) //如果查询结果不为空
{
cbxDBName.Items.Add ( dreader.GetString(0).Trim());
}
dreader.Close();
}
catch(System.Exception ee)
{
MessageBox.Show("错误:"+ee.ToString(),"提示信息",MessageBoxButtons.OK,MessageBoxIcon.Warning);
}
finally
{

sqlCnn.Close();
}
}
提示错误,此平台不支持:resourcepool