Retrieving dropdownlist gridview rowupdating event

This will ensure that: 1) a consistent set of business rules are used everywhere within the application, 2) we write less code and don't repeat ourselves, and 3) we can easily modify/adapt our business rules at a later date and not have to update them in dozens of different places across our application.

I need to bind the ddl to an Sql Data Source, then have a value from a boundfield in the row be passed as the keyfield for select where clause.

Many a times in our applications we use primary keys to get control of the particular record in the gridview.

For this situation, many developers use invisible columns (Hidden columns) in the gridview to identify that row.

Let get into it: A simple way to navigate to a detailed view is to set up a gridview with data from your database: If you don't know how to setup a gridview go here. Text; This bit of code will select the record ID which is in column 1 (remember were 0 based) I have chosen to leave this visible but you can hide the column in the markup by setting the column property visible = false Session["Record ID"] = Record Id; This will store our record ID into the Session Object so we can pick it up on the next page Response. I am new to this forum and new to ASP and VB programming.

Create a event by double clicking your gridview, you should get an event like: Let's go line by line: string Record Id = Grid View1. Redirect("Case View.aspx"); This will redirect us to our our detail view page So now were going to write some code in the pageload event of our page, this code will be executed when the page load's giving us the desired result. I have been trying to figure out how to utilize rows (databound) to access a specific page that we are working for our client.

retrieving dropdownlist gridview rowupdating event-10retrieving dropdownlist gridview rowupdating event-9retrieving dropdownlist gridview rowupdating event-15

Grid View Example " data-medium-file=" Sometimes using Web Forms controls is not well documented and unintuitive, which is the case with the event, where a lot of information available online is incorrect or misleading. If they do (or if they don’t), then please leave a comment.

Join our conversation (24 Comments).
Click Here To Leave Your Comment Retrieving dropdownlist gridview rowupdating event.


  1. 1

    Kumuha ng pagsusulit sa mga aralin ng Aral Kristiyano, Aritmetika, at Pagbasa sa Colegio ng San Juan de Letran.

  2. 1

    Use our tag-based canned responses, message sneak-peek and keyboard shortcuts to make your work a breeze.

  3. 1

    She is also the discreet “go-to” love expert for Hollywood’s A-list celebrities, and her love coaching practice spans the globe.

  4. 1

    Whether you’re looking for the love of your life, a casual date, or even just a one-night stand, the following dating apps are totally free to download.

Leave a Reply

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