what i had done so far as following:
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)
DetailsView1.PageIndex = GridView1.SelectedIndex
Session.Add("receiverName", GridView1.??)
End Sub
??? is the part i am not sure what to code... i tried different method by seems to have problem of convertion.
You can access the seleced row of gridview by using the SelectedRows property, see:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.selectedrows(d=ide).aspx
No comments:
Post a Comment