I have a gridview with one textbox that users will be entering data.
I also have a field in the gridview that is populated from a database.
I want the database field to be the first on in the grid view, but instead,
the itemtemplate appears first in the gride view during runtime.
How can I make the first column of the gridview to be ALWAYS the first column during runtime?
Below is the code for the itemtemplate.
<asp:GridView ID="gvClientView" runat="server" BorderStyle="Ridge" BorderWidth="4px"CellPadding="4" ForeColor="#333333" GridLines="None" Style="z-index: 102;
left: 306px; position: absolute; top: 88px">
<RowStyle BackColor="#EFF3FB" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:TemplateField HeaderText="Revenue">
<ItemTemplate>
<asp:TextBox ID="txtRev" runat="server" Text="Hello" ></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>