Sqldatasource updating

Posted by / 08-Jul-2020 05:43

because e.cancel is not available in updating event.I need to do it in UPDATED not in UPDATING because in updating I can't get some events.

You can, however, cancel the database operation by setting the The following code example demonstrates how to display data that is retrieved from a Microsoft SQL Server database in a Drop Down List control and update the record using a Text Box control.In the On Updating method of the sqldatasource, I've stepped through the command parameters collection and it always contains the original values, not what I've typed into the editable textboxes in my grid. I can't find a way to cancel the update the update without closing the row from the edit event. I was sitting an a problem last night and couldn't find a solution so I help you can help me now : P I'm using the Insert Comand from the Sql Data Source to write to a Database.The problem is that the Parameters are always NULL.

sqldatasource updating-10sqldatasource updating-78sqldatasource updating-36