Web Forms, Findcontrol

twosober

Newcomer
Joined
Feb 28, 2003
Messages
3
Hello,

My problem seems quite simple but I cant seem to find a solution, I have on a page 4 datagrids and a datalist, the datalist has several textbox's within it with an update button wired up to it,
The datagrids are all editable, updatable with an add button via using the footer.
What I wish to achieve is when the add button is pressed, once the record has been added to the db to also run the update method on the datalist.

The problem is I dont know how to fire the update method on the datalist,

The other way I could do it is if I can somehow get access to the data within the datalist from the datagrid

Thanks
 
The update command
Private Sub PersonalDatalist_UpdateCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataListCommandEventArgs) Handles PersonalDatalist.UpdateCommand

requires DataListCommandEventArgs so it can do the binding I cant get access to this
 
Back
Top