P
Paul D. Fox
I have a ButtonColumn as a link. When the user clicks on it, I want to execute a command to query a database and display data in another grid. I need to get the key and pass it to the query.
Here's part of the DataGrid HTML:
<asp:ButtonColumn Text="Select" DataTextField="Schedule" HeaderText="Training Dates" CommandName="Select"></asp:ButtonColumn>
How do I call an Event, get the primary key ( I guess its the DataKeyField) and run another query?
Here's part of the DataGrid HTML:
<asp:ButtonColumn Text="Select" DataTextField="Schedule" HeaderText="Training Dates" CommandName="Select"></asp:ButtonColumn>
How do I call an Event, get the primary key ( I guess its the DataKeyField) and run another query?