HTML code
<asp:templatefield headertext="Add" xmlns:asp="#unknown">
<itemtemplate>
<%# Eval("TagAdd") %>
</itemtemplate>
<footertemplate>
<asp:dropdownlist id="ddlTagAdd" runat="server" autopostback="True">
DataTextField="TagAdd" DataValueField="TagAdd">
<asp:listitem value="0">Select Action</asp:listitem>
<asp:listitem value="True">Enable</asp:listitem>
<asp:listitem value="False">Disable</asp:listitem>
</asp:dropdownlist>
</footertemplate>
</asp:templatefield>
code behind
Dim TagAdd As String = CType(control.FindControl("ddlTagAdd"), DropDownList).SelectedValue.ToString
cmd.CommandText = "INSERT INTO [ModuleDetail](ModuleName, SubModule, TagAdd, TagEdit, TagDelete) VALUES(@ModuleName, @SubModule, @TagAdd, @TagEdit, @TagDelete)"
cmd.Parameters.AddWithValue("@TagAdd", TagAdd.ToString)