sadie hawkins dating online - Rowupdating event not firing

" You are trying with a command name of Delete for your delete button.

But when i run it and click delete and clicking "yes" to confirm.

this error appears: The Grid View 'Pending Records Gridview' fired event Row Deleting which wasn't handled.

Somebody Help me :( i've also tried adding this code ``On Row Deleting = "Pending Records Gridview_Row Deleting" but no success!

:( Here's my gridview full code: " Select Command="SELECT * FROM [Pending Records]" Delete Command="DELETE FROM [Pending Records] WHERE [ID] = ?

" Insert Command="INSERT INTO [Pending Records] ([Username], [Password], [First Name], [Last Name], [Middle Name], [Address], [Gender], [Contact Number], [Plate Number], [Color], [Brand], [Liscensed Number]) VALUES (?

)" Update Command="UPDATE [Pending Records] SET [Username] = ? You need to change the command argument from Delete to something else like Delete_Product or whatever... So the gridview creates a row deleting event automatically.... Connection = conn; Data Set ds Claim Cat = new Data Set(); Sql Data Adapter dapt = new Sql Data Adapter(cmd); dapt. Open(); Sql Command cmd; cmd = new Sql Command("select ID,var Name,var Contact No,var Email,var Address from Contact Details"); cmd. ASPx Grid View;public partial class Gridview With Delete : Page{ protected void Page_Load(object sender, Event Args e) { } protected void Page_Init(object sender, Event Args e) { Bind Grid(); } private void Bind Grid() { Sql Connection conn = new Sql Connection("Connection string here"); try { conn.

Tags: , ,