<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Webform1.aspx.cs" Inherits="aabhdi.Webform1" %>
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Midhun TpRank #388 · 6.5K reputationPosted Oct 23, 2016, 8:38 AM EDT
I think you must declare update and delete parameters like below-
<DeleteParameters>
<asp:Parameter Name="ID" Type="Int32" />
</DeleteParameters>
Please have a look at below article too-
http://www.aspsnippets.com/Articles/Insert-Update-Edit-Delete-record-in-GridView-using-SqlDataSource-in-ASPNet.aspx
Yogesh VedpathakRank #1,179 · 1.5K reputationPosted Oct 23, 2016, 7:08 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Oct 23, 2016, 7:28 AM EDT