I described in a earlier post how to access a row in a gridview during the rowcommand event.
http://weblogs.asp.net/hpreishuber/archive/2005/08/05/421712.aspx
This doesnt work any longer, or -better- produces following error message
Unable to cast object of type 'System.Web.UI.WebControls.ContentPlaceHolder' to type 'System.Web.UI.WebControls.GridViewRow'.
So instead of doing some parent parent adventures use now
Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Select Case e.CommandName Case "profil" Dim row As GridViewRow = GridView1.Rows(CInt(e.CommandArgument))