tags:

views:

46

answers:

1

I have strongly typed dataset and Data Access Layer top of it.

I am extending partial class of tableadpater.

public partial class InvoiceTableAdapter 
{

    public void OnRowUpdated(object sender, OleDbRowUpdatedEventArgs e)
    {
        MessageBox.Show("I am here");
    }

}

Question: Where can i add event handler for this?

A: 

If you use VB.NET, you can doubleclick somewhere and the event-code is generated. In C# you need to override EndInit() and code it yourself.

Here's something on MSDN.

Henk Holterman
Thanks Henk,It work as i am looking for. appreciate your help.
Sohail Khan