DataGrid DropDownList with Boolean Values
Posted on 2004-09-12
I have a DataGrid and need to add a DropDownList that displays Active and Inactive with the appropriate boolean values of True and False.
I was able to add the following using TemplateColumns
<asp:DropDownList runat="server" id="ddlActive" AutoPostBack="False" DataTextField='' DataValueField=''>
Now how to I bind the dropdownlist above when I go to the edit mode of the datagrid the database field is "Active" which is an Access Table Boolean using True and False.
Also looking for good articles on build once use again Datagrid solutions. I found one on SitePoint and 4GuysFromRolla but those leave a few details out.