themerovingian
New Member
How to get value of row in \[code\]Gridview\[/code\] and display in \[code\]Textbox\[/code\]?Don't work this code. And I don't want to use this code:\[code\]protected void GridView1_SelectedIndexChanging(object sender, GridViewSelectEventArgs e) { LinkButton lnkButton = sender as LinkButton; GridViewRow row = (GridViewRow)lnkButton.NamingContainer; lblSender.Text = row.Cells[2].Text; lblSubject.Text = row.Cells[5].Text; txtReadMsg.Text = row.Cells[6].Text;\[/code\]