SO I've got a Details View control which I can insert data into my database with OK.However, in one of the text fields I want to limit what the user can insert to a set of key words. So the obvious thing to do is to present the User with a drop down box to select a key word.So I have converted the text field into a template and I thought I could replace the <InsertItemTemplate> in the details view with the drop down box. Well it looks like what I want but when I INSERT the data that field is not inserted into the database.So I guess I need to Bind the Drop Down somehow to the Insert - How do I do that ?My code is below; <asp:DetailsView ID="DetailsView1" runat="server" Height="50px" Width="125px"
AutoGenerateRows="False" DataKeyNames="dateID" DataSourceID="SqlDataSource1"
<asp:BoundField DataField="dateID" HeaderText="dateID" InsertVisible="False"
ReadOnly="True" SortExpression="dateID" />
<asp:TemplateField HeaderText="diaryDate" SortExpression="diaryDate">
<asp:TextBox ID="TextBox1" runat="server" Text='<
View Complete Post