Event rowupdating which wasn t

The Row Updating event occurs when an Update method is called before a command executed against the data source.The Row Updated event occurs when a command executed.

event rowupdating which wasn t-48event rowupdating which wasn t-49event rowupdating which wasn t-7event rowupdating which wasn t-27

I created a Windows application and added a button control to the form.After that I changed the button's name property to Data Adapter Events Test Btn and wrote a button-click event handler by double-clicking on the button control.Next, I added a data adapter control to the form by dragging the Ole Bbd Ataadapter component from the toolbox's data tab to the form.I added an event handler for the button by double- clicking on it and writing the code shown in listing 9-6.As you can see, I created a new Ole Db Data Adapter object and copied ole Db Data Adapter1 to it (the framework added ole Db Data Adapter1).The event handler receives an argument of type Fill Error Event Args, which contains data related to this event.

You must have an account to comment. Please register or login here!