hello i have this code in my application: string wolstring = System.Configuration.ConfigurationSettings.AppSettings["wol"]; string crmstring = System.Configuration.ConfigurationSettings.AppSettings["crm"]; FbConnection wol = new FbConnection(wolstring); FbConnection crm = new FbConnection(crmstring); string sql = "select * from kontrah_temp"; FbDataAdapter sourceDA = new FbDataAdapter(sql, wol); DataSet ds = new DataSet(); sourceDA.Fill(ds, "KONTRAH_TEMP"); FbDataAdapter targetDA = new FbDataAdapter("SELECT * FROM KONTRAH_TEMP", crm); FbCommandBuilder fbCb = new FbCommandBuilder(targetDA); DataSet ds2 = new DataSet(); targetDA.Fill(ds2, "KONTRAH_TEMP"); targetDA.InsertCommand = fbCb.GetInsertCommand(); targetDA.UpdateCommand = fbCb.GetUpdateCommand(); foreach (DataRow dr in ds.Tables["KONTRAH_TEMP"].Rows) { /// Change the state of the row dr.SetAdded(); } targetDA.Update(ds, "KONTRAH_TEMP");
and the problem is with update method - i get exception: 'dataType' argument cannot be null. Parameter name: dataType im using 2.6.5 provider on 2.5 database please help me with this -- View this message in context: http://firebird.1100200.n4.nabble.com/fbdataadapter-update-dataType-argument-cannot-be-null-tp3632393p3632393.html Sent from the firebird-net-provider mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider