http://csharpdotnetfreak.blogspot.com/search/label/GridView?max-results=5
read this blog will help u On 8/4/09, Ana Drumond <[email protected]> wrote: > > Hi, > > I'm new to ASP.NET <http://asp.net/> and I'm having the following problem: > I have a GridView where the user can update any row he wants by clicking on > a LinkButton (Edit). The code for getting the selectedRow is like this: > > Dim selectedRow As GridViewRow = MyGridView.SelectedRow > Dim myTextBox As TextBox = selectedRow.FindControl("myTextBox ") > Dim info As String = myTextBox.Text > > However, my selectedRow is always Nothing. Does anyone knows how can I get > the selectedRow in a different way? Any help would be greatly appreciated! > > Thanks, > Ana >
