No clue what is VWD2k5EE, but you'll probably need to access a record ID in
a (hidden or viewable) column stored in the DataView to use for the Grid.
Without knowing your table and how you are building your view, I can't give
you an exact example. What data is in which column and in what format?
"Jon Paal" <Jon nospam Paal @ everywhere dot com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
need help trying to associate master/detail in ASP.net 2.0 with VWD2k5EE
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal
e As System.EventArgs)
DetailsView1.DataItemIndex = GridView1.SelectedIndex '<-- need help
with what goes here
End Sub