468,119 Members | 1,878 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,119 developers. It's quick & easy.

How to know the error of a DataGrid/SqlDataAdapter.Update (The white exclamation mark in a red dot)

Hi,

I have a DataGrid bound to an sqlDataAdapter. When I do a
SqlDataAdapter.Update, on 1 row I got a red dot with a whie exclamation mark
in it, to show me there is an error, and the changes aren't saved.

The problem is that I'm not able to knwo what error it is, I just get the
red cirkel with the white exclamation mark before my row.

Does anybody know how to get the reason of that error?

Thanks a lot in advance,

Pieter
Jul 21 '05 #1
2 1419
Pieter,

Can you show a little bit code of that update where you probably as well use
something as a merge or a refill?

Cor
Jul 21 '05 #2
It *could* be a concurrency error, though there could be other reasons too.
Use the DataRow.GetColumnError and GetColumnsInError methods to find out
what error u have !!

- Sahil Malik
http://codebetter.com/blogs/sahil.malik/

"DraguVaso" <pi**********@hotmail.com> wrote in message
news:uX**************@TK2MSFTNGP14.phx.gbl...
Hi,

I have a DataGrid bound to an sqlDataAdapter. When I do a
SqlDataAdapter.Update, on 1 row I got a red dot with a whie exclamation mark in it, to show me there is an error, and the changes aren't saved.

The problem is that I'm not able to knwo what error it is, I just get the
red cirkel with the white exclamation mark before my row.

Does anybody know how to get the reason of that error?

Thanks a lot in advance,

Pieter

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by lu | last post: by
reply views Thread by Leona Smyth | last post: by
2 posts views Thread by Stephan Bour | last post: by
11 posts views Thread by Steve Hoyer | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.