Deleting form dataGrid bug
From: Hatem Gamal (shang3000_at_yahoo.com)
Date: 02/26/04
- Next message: Mike Johanson: "Weird process with null values in dataset."
- Previous message: Teemu Keiski: "Re: Keeping objects between requests within the same session"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 13:26:05 -0800
Hi All, the following code is supposed to delete from dataSet using
dataGrid- it works as exepected when the Delete buton is a link button but
it doesn't when I change the linkButton to a Pushbutton . I think there is
something missing but I don't know what can any body help me in that ?
thanks here is the code :
the working code (using linkbutton) found at :
http://hatem.softwarelab.net/error.htm
the unworking code with pushbutton (using Pushbutton) found at:
http://hatem.softwarelab.net/error2.htm
Note: please remove the Customers table Primary key in the northwind database to make the code work since it doesn't delete from child tables if you don't a foregin key Exception will be thrown
- Next message: Mike Johanson: "Weird process with null values in dataset."
- Previous message: Teemu Keiski: "Re: Keeping objects between requests within the same session"
- Messages sorted by: [ date ] [ thread ]