开发者

Where can I add an event handler To the RowUpdated event for a table adapter

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

I am extending partial cla开发者_开发百科ss 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜