Home Page
Articoli
Tips & Tricks
News
Forum
Archivio Forum
Blogs
Sondaggi
Rss
Video
Utenti
Chi Siamo
Contattaci
Username:
Password:
Login
Registrati ora!
Recupera Password
Home Page
Stanze Forum
App. WinForms / WPF .NET
Update sql unique key with sqldataadapter
venerdì 14 novembre 2003 - 14.50
Elenco Threads
Stanze Forum
Aggiungi ai Preferiti
Cerca nel forum
Luudt
Profilo
| Newbie
3
messaggi | Data Invio:
ven 14 nov 2003 - 14:50
Hi,
i pray you to help me because i have a problem with a project that should be ready today.
I got a typed dataset of data from a Sql server and i binded them on a grid, then if the user edit the grid all changes will be sent back throw dataadapter.update.
The problem is that there is a unique key with three records and if the user edit it switching values in the following way:
original-Intermediate editing final result
a ax ax ax ax b
b b bx bx c c
c c c a a a
The typed dataset will let him this editing but then when it'll update obviusly the sql server'll give back instead an error about attemptig of writing an already present unique key
How can i update avoiding this error?
Torna su
Stanze Forum
Elenco Threads
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?
Dopo esserti registrato potrai chiedere
aiuto sul nostro
Forum
oppure aiutare gli altri
Consulta le
Stanze
disponibili.
Registrati ora !