Kathy,
Well, here's a short VB example of how to set it up:
Protected Shared Sub OnRowUpdated(ByVal sender As Object, ByVal e As
SqlRowUpdatedEventArgs)
' In this procedure you can perform checks of what happened, i.e.
' did the updated work and if not, what went wrong.
' Check the properties of the passed instance of
' SqlRowUpdatedEventArgs (e). Please see the docs for
' more information.
End Sub
......
Dim MyDataAdapter As New SqlDataAdapter(...)
' Set up event handler
AddHandler MyDataAdapter.RowUpdated AdressOf OnRowUpdated
......
Now, the RowUpdated (after) event is commonly used in connection with the
RowUpdating event (before), so do have a look at both in the docs. I hope
this gets you going.
--
Carsten Thomsen
Enterprise Development with Visual Studio .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Kathy Burke" <ka**********@attbi.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Since I'm only updating one record, it sounds good!
I've never used it, could you possibly shoot me a code example of how to
use it?
Thanks!
Kathy
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!