I'm a newbie so please help me here. I've got a project due Tuesday that I'm working on for college and this part is kicking my rear. I'm developing a WebForm in Visual studio. this WebForm shows my DataGrid fine and I added a Select button for column(0) while using property builder and converted to a template column. What I want it to do is select the row of data and read the data values from the selected row and put into textboxes outside the DataGrid on the form. I will use these textbox values to use in my stored procedures to update multiple tables with data. do i have to change any HTML on the button I make to retreive this data that is selected in my datagrid? As it stands I can select the grid row and it highlights but when I hit the button to get the data nothing happens. I'm not sure how to call this sub sub GetRowReqID(ByVal sender As Object, ByVal e As DataGridCommandEventArgs) Dim MyData As String Dim MyTB as TextBox MyTB = CType(e.Item.Cells(1).FindControl("RequestID"), Textbox) MyData = MyTB.Text txtReqID.Text = MyData //Textbox on form where I want the value of //RequestID to be copied. End Sub how do I call this sub to execute from my button?
B
BlazerScott
@BlazerScott