I have this edit template in a gridview which shows when I go into edit mode :
<EditItemTemplate>
<asp:TextBox ID="txtEditMessage" runat="server" width="340px"
Text='<%# Eval("Message") %>'></asp:TextBox>
</EditItemTemplate>
I now need to update the row. How do I extract the value from this textbox to use it to update the record ?
I am using the RowUpdating event.
Thanks
<EditItemTemplate>
<asp:TextBox ID="txtEditMessage" runat="server" width="340px"
Text='<%# Eval("Message") %>'></asp:TextBox>
</EditItemTemplate>
I now need to update the row. How do I extract the value from this textbox to use it to update the record ?
I am using the RowUpdating event.
Thanks