Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 2 of 2 total |
Bug in EDBCommandBuilder constructor |
Sat, Feb 14 2009 4:50 AM | Permanent Link |
"Hedley Muscroft" | Hi Tim,
If I do the following :- EDBDataAdapter adap = new EDBDataAdapter("select * from occupation", con); EDBCommandBuilder cb = new EDBCommandBuilder(adap); cb.GetUpdateCommand(); .... an InvalidOperationException is thrown which says "SelectCommand property needs to be initialized." If I do the following then it's ok :- EDBDataAdapter adap = new EDBDataAdapter("select * from occupation", con); EDBCommandBuilder cb = new EDBCommandBuilder(); cb.DataAdapter = adap; cb.GetUpdateCommand(); It looks like the EDBCommandBuilder constructor which accepts a DataAdapter is not initializing the DataAdapter correctly. Regards, Hedley |
Sat, Feb 14 2009 9:06 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Hedley,
<< ... an InvalidOperationException is thrown which says "SelectCommand property needs to be initialized." >> I'll check it out. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |