I want to update the current user to UserName field in my database from a login control which identifies the current user as
<% = CheckLoginStatus1.CurrentUser.UserName%>.
I have a datagrid with the update function. It is able to pick the current user, but the database UserName field does not get updated on update.
Please find below my attempt.
ItemTemplate
<input type="text" name="UserName" value="<% = CheckLoginStatus1.CurrentUser.UserName%>" />
EditItemTemplate
<asp:TextBox runat="server" id="UserName" Text='<%# DataBinder.Eval(Container.DataItem,
"UserName") %>'/>
No error messages are returned. I am using Dreamweaver 8.
Please help.