First question here so please forgive me if I do this wrong!
Trying to have a session variable show up as a value in a detailsview on insert. I got the text to show in the text box on insert however when I go to insert the new record (with text showing in the textbox from the session) I am getting a "cannot insert the value NULL for clientcode;........" . This doesn't really make sense to me, if the text is bound to the clientcode box should it not update?
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Session("testsession") %>'></asp:TextBox>