Sqldatasource updating event not firing

You have to make sure that you aren't setting your Grid View's data when it is not postback.

If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.

If you are using command buttons, then do not use Auto Generate Edit Button.

First, I load up some data: After that, I’m doing some work to make my Grid View look beautifull, adding all columns by hand.

But for this demo, I’ll show you the simple version, that also doesn’t work 🙂Let’s bind the data to our Grid View and have it autogenerate our columns, as well as an edit button.

NET 2.0 introduced a number of new Web controls designed for accessing and modifying data. NET 2.0's data source controls make it possible to retrieve, insert, update, and delete data without having to write the tedious dedata access code that was so commonplace in ASP. Previous installments of this article series have looked at returning, inserting, and deleting data using the Sql Data Source control. These controls can work in unison with the data source controls to facilitate inserting, updating, and deleting data.

These controls allow page developers to declaratively access and modify data without writing any code to perform the data access. In this article we will examine basics of using the Sql Data Source and Grid View controls to update records from a database.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “sqldatasource updating event not firing”

  1. I remember furtively clicking on thumbnail after thumbnail in an “Interns of the Month” gallery, watching spray-tanned haunches and balloon-taut breasts of girls posed around Oval Office interiors materialize, bit by it.

  2. He is an internationally recognized expert on insurance claims handling, bad faith, insurance coverage, the commercial general liability (CGL) policy, insurance fraud, jewelers block insurance, and other inland marine coverages. Zalma is the author of, or has rewritten, CGL, fire, auto, earthquake, jewelers block, and other insurance policies for insurer clients. Zalma is the author of the Zalma Insurance Claims Library published by the National Underwriter Company available at is available, free from Claim School, Inc., and over the Internet at

  3. Here is where it gets weird: I have a textbox that will open up the modal popup when someone hits the enter key, copy its text to the search textbox inside the updatepanel and fire the click event of the search button. I have another grid in a different updatepanel up User Details this contains a grid too gv User Access Keys.