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
Include page headers when printing HTML pages with different headers on some of each page
Cisco VPN Client 5.0.07.0290 on Windows 7 64 bit
VMware Workstation 7.1 Won't Install
How to create own SMTP Server on VPS?
Why won't Exchange Transport service start in Exchange 2007 on our SBS 2008 server ?
VMware ESXi4 Backup
Can't obtain cell values from Selected Row of GridView programmatically
How to notify the moderator of new posts?
net share system error 5 acces denied
PHP error reporting