Net gridview rowupdating event
I have a whole host of filters that do not work now since they rely on the auto postback feature in check boxes and drop down lists that I have. To String(), "ecylkows") = 1 Then i Col = i Chx 1 Track Projects. I've attached my code for what it's worth, but it will probably be too dificult to determine everything that I am doing. Since you are not using the datasource controls(which is a good thing), the Old Values and New Values collections will not be populated automatically. So, here is some sample code that I use, and maybe it will help you: This goes in your Row Updating event Dim cell As Data Control Field Cell = Nothing 'This type will change if you are using Bound Fields 'The collection(s) have to be populated for EACH cell. I'd like to know if there are any other ways to retrieve the new values? I have been using the web site successfully for just over a year, and I am presently using a Select button in the row to launch a detailsview, and I edit the database that way. Net a year and a half ago, and VB programmer forever before that, but I feel pretty confident in this large and powerful website I have created, but the users don't like the details view have expressed a desire to edit on the fly in the gridview. My user base has a hold of management's ear, and my management wants to dump ASP. This could be the straw that broke the camel's back - a person's job hangs in the balance - MINE!! If you are databinding in page_load then you need to only do it if(!
It seems like the Java Script can get mangled otherwise.
You should create your data source once (on the user's first visit) and store it into Session for later use, and only bind the Grid View to the data source when it is necessary to do so.
I would recommend trying this out and starting a new thread in the .
Edit, True) obj Sql Param = New Sql Parameter("@New Expired ID", Sql Db Type.
New Values("Property ID_Expired") 'The parameter is case sensitive.
Search for net gridview rowupdating event:
If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.