Microsoft
Software
Hardware
Network
Question : error while using grid view
<asp:AccessDataSource ID="db1" runat="server" DataFile="~/hello/db11.mdb
"
SelectCommand="SELECT * FROM [db11]" UpdateCommand="UPDATE [db11] SET [fname] = ?, [lname] = ? WHERE [Id] = ? ">
<UpdateParameters>
<asp:Parameter Name="fname" Type="String" />
<asp:Parameter Name="lname" Type="String" />
</UpdateParameters>
</asp:AccessDataSource>
Answer : error while using grid view
the problem is with the [id] parameter. it should be included.
right now there is only fname and lname but the update query is expecting [id] as well
Random Solutions
Need Code To Lock All Controls On Form
Can you setup Remote Desktop Gateway and Remote Desktop Services on the same Server
Operation Must Use an Updateable Query
Clearing a submit form once submitted
How to open an XML file and change a value.
Access 2010 VBA - determining which "Yes/No" boxes are checked on a continupus form
ORA-00701: object necessary for warmstarting database cannot be altered
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
DMZ with single WAN IP on SonicWall TZ-200?
Excel - Find nearest words for top ranked (text mining)