I am trying to insert from DetailsView on insert mode using the controlparameters of my dropdownlist and textbox.
I used the same code several times before and they are still working fine.
But this one is not working at all.
I don't know how to debug it.
Bascially I have one DetailsView form with, say, one textbox and one dropdownlist for name and title(in dropdownlist)
It is not inserting anything.
<asp:SqlDataSource ID="SqlDataSource3 ...
InsertCommand="insert into table (lastname,title) values (@last name,@title)
<asp:controlparameter controlid=DetailsView1$TextBox name="lastname" PropertyName="Text" Type="String">
<asp:controlparameter controlid=DetailsView1$DropDownList1" name="title" PropertyName="SelectedItem" Type="String">