我想在列表中选择一个服务器并将查询发送到该服务器,我如何将选择连接到按钮?
<asp:GridView ID="GridView1" runat="server" AutoGenerateSelectButton="True" ColumnName="test" GridLines="Horizontal" Font-Size="Medium" HorizontalAlign="Left" Width="408px" BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" CellPadding="4">
<FooterStyle BackColor="White" ForeColor="#333333" />
<HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" BorderStyle="Solid" HorizontalAlign="Center" VerticalAlign="Middle" />
<PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Left" />
<RowStyle BackColor="White" ForeColor="#333333" />
<SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#F7F7F7" />
<SortedAscendingHeaderStyle BackColor="#487575" />
<SortedDescendingCellStyle BackColor="#E5E5E5" />
<SortedDescendingHeaderStyle BackColor="#275353" />
<RowStyle HorizontalAlign="Center"></RowStyle>
</asp:GridView>