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
Add comments to PDF
Email an attachment in C# Windows application
Crystal Report Server -- Free Named Users ?
Continue to next part of script w/o having to close command prompt window
Push not working on iphone with Exchange 2010...
Adding a password to a folder
SSG5 VPN Routing, internal LAN route works, VPN route doesnt.
How do I find the .NET FW version on 64 bit Windows 7? XP?
Apache - Tomcat TCP Connection problem - CLOSE_WAIT / FIN_WAIT_2
Event ID 5000 error office11shipassert