I have the code listed below, but I want to put a text box with a submit button within my gridview (gridview is blank by default) on submit the page refreshes with the gridview and its populated. but I also want to include a textbox with a submit button above the gridview
but anytime I try to put code within the gridview I get errors...what am I missing?
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False
" AllowSorting="true" BorderWidth="1" PagerStyle-CssClass="boldB
lackTitle"
PagerSettings-Position="Bo
ttom" PagerStyle-HorizontalAlign
="Right">
<EmptyDataTemplate>
<table cellSpacing="0" cellPadding="0" border="0" width="400">
<tr>
<td width="10"></td>
<td><span class="regularBlackTitle">
Currently there are no records that match your query.</span></td>
</tr>
</table>
</EmptyDataTemplate>
<Columns>
<asp:BoundField HeaderStyle-CssClass="bold
TitleResul
tsDarkBlue
" HeaderStyle-ForeColor="#FF
FFFF" DataField="community" HeaderText="Community" ItemStyle-Width="85px" HeaderStyle-HorizontalAlig
n="Left" SortExpression="community"
></asp:Bou
ndField>
<asp:TemplateField HeaderStyle-CssClass="bBlu
e" ItemStyle-Width="10px"></a
sp:Templat
eField>
</Columns>
<RowStyle CssClass="resultswhite" />
<AlternatingRowStyle CssClass="resultsblue" />
</asp:GridView>