Greetings; I have read several of the previous help questions on when the grid View Row Updating event doesn't fire. LOL Each time through the code behind I was loading and binding my product table.
I am confused at this point on why my markup and code behind is not touching the Row Updating event when Update button is clicked. So, the Row Update event didn't fire because there was no indication of a Row Update existing.
This is becoming so frustrating it's getting almost comical. Breakpoints were triggered for the Row Editing and Row Command.
David I suggested that the Row Updating function was being blocked by the . Data Bind() in the Row Command event so that only the Edit command will activate it (take it out of Row Editing). Twice for Row Command (1 for Row Editing and 1 for Row Canceling) and once for Row Editing. I am going to try and create this not as a web application but rather as a website and see if I notice any differences.
SQLCommand command Type=2 records Affected=1 row=System.
I also don't understand when I select the grid View control and look at the events in the Properties window of Visual Studio 2010 why I see all the proper event procedures listed for each event I expect to use. I subsequently changed the code behind to explicitly bind to the product table during Row Cancel and Row Edit events.
The Edit, Delete and Insert events work as I expect. The markup and code behind are as follows: "The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. The Row Update event will load a copy of the product table from the database after successfully updating a row.
Add With Value("@pfirstname", str Last Name) If cn.
Notice that the programing is not running the event Row Updated any help?