I have an gridview,in gridview there is an coloum active.
I active coloum I use an dropdownlist box in edit mode.I want to bind that
dropdownlist to database coloum in edit mode.
<Columns>
<asp:TemplateField HeaderText="Active" >
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("active") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList ID="DropDownList1" runat="server">
</asp:DropDownList>
</EditItemTemplate>
</asp:TemplateField>