[ Ivansi @ 27.02.2006. 21:45 ] @
Additional information: Update requires a valid InsertCommand when passed DataRow collection with new rows.
This is an error I got. I made three alias fields in table and sqlDataAdapter.Update method require a new
insertation, but I can't find it in properties, only select command is active.How should I resolve this problem?
Thanks a lot, Ivan novice izvinite zbog engleskog jer sam ovo vec slao na ENG>
unapred hvala
[ Oliver Klaćik @ 28.02.2006. 07:52 ] @
Pretpostavljam da prilikom kreiranja SqlDataAdapter-a u dizajneru nisi čekirao da ti napravi Insert, Update i Delete naredbe. Možeš i programski putem propertija SqlDataAdapter.InsertCommand da uneseš odgovarajaću Sql insert naredbu...