0
I need to make sure that when selecting a line and clicking the Approve button, the button takes all the values of the line and plays in a variable and then delete the line
this and the code of my Gridview
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="ID_PTD" DataSourceID="SqlDataSource1" EmptyDataText="There are no data records to display." PageSize="3">
<Columns>
<asp:CommandField ShowSelectButton="True" />
<asp:BoundField DataField="CAMINHO" HeaderText="CAMINHO" SortExpression="CAMINHO" />
<asp:BoundField DataField="NOME" HeaderText="NOME" SortExpression="NOME" />
<asp:BoundField DataField="PROFESSOR" HeaderText="PROFESSOR" SortExpression="PROFESSOR" />
<asp:BoundField DataField="ETEC" HeaderText="ETEC" SortExpression="ETEC" />
<asp:BoundField DataField="DATA" HeaderText="DATA" SortExpression="DATA" />
<asp:TemplateField HeaderText="Documentos">
<EditItemTemplate>
<a ID="hpCaminho" target="_blank" class="materialize-textarea" href ='<%# Bind("CAMINHO") %>' runat="server">Abrir</a>
</EditItemTemplate>
<ItemTemplate>
<a ID="hpCaminho" target="_blank" class="materialize-textarea" href ='<%# Bind("CAMINHO") %>' runat="server">Abrir</a>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>