运行adp.Fill(ds)死机
我用odbc连接informix数据库运行到adp.Fill(ds)时就死了,也没有报错,占用cup还特别大,我试过可以执行update和insert操作,以下是我的代码:
DataSet ds=new DataSet();
OleDbConnection cnn = new OleDbConnection();
cnn.ConnectionString="Provider=DataDirect.Informix7OLEDBProvider.2;Password=wolfde;Persist Security Info=True;User ID=edflow;Data Source=bpcs_test;Initial Catalog=bpcs_test";
cnn.Open();
string strSql = "select * from fso where sord='69276'";
OleDbDataAdapter adp = new OleDbDataAdapter(strSql,cnn);
adp.Fill(ds);
cnn.Close();