Dear All,

I have a GridView:
-----------
<asp:GridView ID="grdAstCls" runat="server" >
<Columns>
<asp:TemplateField HeaderText="..." SortExpression="Select" >
<ItemTemplate>
<asp:Button ID="btnSel" OnClick="btnSel_Click" runat="server" Text="..." />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
------------
Protected Sub btnSel_Click(ByVal sender As Object, ByVal e As EventArgs)
"This code is in CodeBehind file. Here i want to write the code of assigning the selected rows 2nd column data in the textbox txtast."
End Sub
-----------
There will be other columns with this column in begining for each row in the grid. On click of the the button, I want to assign the 2nd column data of that row in a text box(txtast). How do i do that?

Regards.