J
Joana
How do I make my ButtonColumn(In my DataGrid) to ResponseRedirect to another
aspx.page when the user click on the button. I also want send with a id for
the row.
For eksample:
******************************************************************
Private Sub DataGrid_kurs_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
DataGrid_kurs.SelectedIndexChanged
Dim strKurs As String
strKurs = DataGrid_kurs.SelectedItem.Cells(0).Text
Response.Redirect("kurstilfelle.aspx?kurs=" + strKurs)
End Sub
******************************************
Is this the right plase to do it and how do make it work? Nothing happens
when I click on the button.
/Newbeginner
aspx.page when the user click on the button. I also want send with a id for
the row.
For eksample:
******************************************************************
Private Sub DataGrid_kurs_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
DataGrid_kurs.SelectedIndexChanged
Dim strKurs As String
strKurs = DataGrid_kurs.SelectedItem.Cells(0).Text
Response.Redirect("kurstilfelle.aspx?kurs=" + strKurs)
End Sub
******************************************
Is this the right plase to do it and how do make it work? Nothing happens
when I click on the button.
/Newbeginner