OdbcDataAdapter odbcDA = new OdbcDataAdapter("SELECT * FROM "
+tableName.ToString()+" WHERE 编号>"+pointNum.ToString(),this.odbcConnection1);
try
{
this.odbcConnection1.Open();
odbcDA.Fill(this.ds,tableName.ToString());
}
catch(Exception eOdbc)
{
MessageBox.Show(eOdbc.ToString());
}
finally
{
this.odbcConnection1.Close();
}
就这段代码,总是出现异常!请帮忙!
+tableName.ToString()+" WHERE 编号>"+pointNum.ToString(),this.odbcConnection1);
try
{
this.odbcConnection1.Open();
odbcDA.Fill(this.ds,tableName.ToString());
}
catch(Exception eOdbc)
{
MessageBox.Show(eOdbc.ToString());
}
finally
{
this.odbcConnection1.Close();
}
就这段代码,总是出现异常!请帮忙!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货