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
asp.net .
Sed help
How can I shrink my LDF file to manageability?
laptop display problems
how to open the PDF in a new browser window using jsf ?
logon mess
T-SQL: Count number of tables in the DB (SQL server 2008)
Excel VBA Select All File Types From a Specified Folder
Will an AGP Video Card work in a PCI Express Slot?
How would I edit the code for additional levels from: How can I prep text files for import into Excel that are in subheading formats?