The issue is about using
Bind
or
Eval
.
Such as:
<asp:TextBox runat="server" ID="txtName" Text='<%# Eval("FlNm") %>'></asp:TextBox>
determines it is not required as a parameter.
NOTE
1. Use
Eval
if you don't want the field to be an Update Parameter.
2. And
use Bind
if you want it to be a parameter.
So, the textboxes referring to the below Update Parameters need to have
Bind
not
Eval
.
<asp:Parameter Name="ID_NwsLtr" Type="Int32" />
<asp:Parameter Name="FlNm" />
<asp:Parameter Name="_ml" />
<asp:Parameter Name="_MbN" />
Refer -
GridView With ObjectDataSource Example Insert Edit Update[
^] for one nice example.
Thanks...