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
Convert an 8 byte VB6 date to C# DateTime
RDP using SBS 2003
Email Being Blocked
How to alter web page so Google Chrome will clear old data?
Formview - System.NullReference Exception when using findcontrol
seo and non-pages
What is differnce between machine.config and web.config?
'System.Xml.Linq' doesn't contain any public member
Database Driven Website
Looking for Video Recording Software for Samsung Cameras