troubleshooting Question

VB.net Trapping MySql TableAdapter Event

Avatar of RegProctor
RegProctorFlag for United States of America asked on
MySQL Server.NET ProgrammingVisual Basic.NET
4 Comments1 Solution1044 ViewsLast Modified:
Hello Experts!

I want to trap the MySql RowUpdated event. From all that I have read I thought the following code would do it but it's not triggering. It's been a few months since I've done vb coding so it could be that I just missed something obvious.

I am using VB.net 2005 with the latest MySql adapter.

You help is greatly appreciated.

Here is the code as I have been able to figure it out:

Namespace TRUWESTDataSetTableAdapters

  Partial Public Class MySqlRowUpdatedEventArgs

    Public Delegate Sub MySqlRowUpdatedEventHandler(ByVal sender As Object, ByVal e As MySqlRowUpdatedEventArgs)

    Public Event RowUpdated As MySqlRowUpdatedEventHandler

    Sub _RowUpdated(ByVal sender As Object, ByVal e As MySqlRowUpdatedEventArgs) Handles Me.RowUpdated

      Console.WriteLine("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")

    End Sub

  End Class
End Namespace
ASKER CERTIFIED SOLUTION
ToFro

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros