我要保持我的網格視圖中隱藏之前,除非搜索按鈕被點擊如何使一個隱藏的GridView
<td class="style2">
<asp:TextBox ID="txtbkcgry" runat="server" Width="233px"></asp:TextBox>
</td>
<td class="style3">
Auther</td>
<td class="style4">
<asp:TextBox ID="txtathr" runat="server" Width="235px"></asp:TextBox>
</td>
<td rowspan="2">
<asp:Button ID="Button1" runat="server" Text="Search" Width="143px"
onclick="Button1_Click" />
</td>
</tr>
<tr>
<td class="style1">
Book Name</td>
<td class="style2">
<asp:TextBox ID="txtbknm" runat="server" Width="232px"></asp:TextBox>
</td>
<td class="style3">
Price</td>
<td class="style4">
<asp:TextBox ID="txtprs" runat="server" Width="233px"></asp:TextBox>
請指引我與查詢。
那麼改變它的屬性可見假和按鈕單擊事件使其可見。 –