Commandargument = '<% # databinder.eval (container.DataItem, "Title_ID")%>' />
Itemtemplate>
asp: templateColumn>
This Primary Key Field Information Could The Be Extracted in The Itemmand Event Handler, Which Would Look Like
Sub DGTIS_ItemCommad (Sender As Object, E AS DataGridCommandeventArgs)
If E.CommandName = "SELECT" THEN
'The details button has been clicked, Find Out the PK Field Value
DIM STRTITLEID AS STRING = E.commandargument
'Display the Book's Details
DGbookDetails.DataSource = getBookDetails (StrtitleID)
DGBOOKDETAILS.DATABIND ()
'Make Sure The DGbookDetails DataGrid Is Visible
DGBOOKDETAILS.VISIBLE = TRUE
END IF
End Sub