如何根据comboBox的选择,来选择要操作的数据库
以下代码报错。跪求大虾赐教!string str=comboBox1.Text.trim();
"select RTRIM({0}.dbo.ADMMF.MF002) from {0}.dbo.ADMMF WHERE {0}.dbo.ADMMF.MF004='1001' AND
{0}.dbo.ADMMF.MF001 <>'**********' AND {0}.dbo.ADMMF.MF001='" + textBox2.Text + "' AND {0}.dbo.ADMMF.MF001 IN ('001','002')"