Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.

[es] :: .NET :: .NET Desktop razvoj :: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.

[ Pregleda: 2366 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

djvlajko

Član broj: 89354
Poruke: 310
*.dynamic.isp.telekom.rs.



Profil

icon Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.22.07.2013. u 11:13 - pre 130 meseci
Vidim da ima slicnih pitanja, ali nisam video resenje za moje ...


Select tekst moga daptera je

Code:


select * from otpremnice order by otpremnica_sifra



U tabeli otpremnice prostoji polje primarnog kljuca.

Uz pomoc CommandBuilder-a sam obezbedio insert i update.

Za Table objekat sam podesio

Code:


cTable.Columns(0).AutoIncrement = True
cTable.Columns(0).AutoIncrementSeed = -1
cTable.Columns(0).AutoIncrementStep = -1



Sta je problem. Dodavanja sloga uspeva, ali kada odmah iza toga probam da ispravim taj slog prijavljuje mi navadenu gresku.
 
Odgovor na temu

AMD guy
Miroslav
.NET developer

Član broj: 128930
Poruke: 1007

Sajt: www.its.edu.rs


+38 Profil

icon Re: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.26.07.2013. u 14:22 - pre 130 meseci
Procitaj ovo
http://blogs.msdn.com/b/spike/...of-the-expected-1-records.aspx
http://i.imgur.com/V3feW.jpg
http://on.wsj.com/H9yjz6 -- India Graduates Millions, but Too Few Are Fit to Hire
 
Odgovor na temu

[es] :: .NET :: .NET Desktop razvoj :: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.

[ Pregleda: 2366 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.