Gridview1 rowupdating old values

bathroom-blowjob

I have a Gridview with Auto Generate Columns="False".

I am using a Template Field to display my Edit, Update and Cancel 'buttons' in the first column of the Grid View within respective Item Template and Edit Item Template fields.

Row Updating My Grid is populated with that information and has an Edit link on the Grid. Fill(ds View Data, tbl Name) Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As System.

I simply want to grab what the person enters after hitting the update link (while in Edit mode).

Text Then we discovered that it doesn't actually run until after post back, so the old values were being grabbed.

После того как нажали на кнопке update, нужно получить новые данные из гридвьюв-а исохранить их в базе данных.

After it has been clicked the postback places that row in edit mode. At this point in time the above Edit Item Template is displayed with two Image Buttons within it.

bathroom-blowjob

My buddy sitting nexct to me figured it out by adding the If is Post Back = False on the page load. The below code grabs the values we need: (CType((row.

Еще пытался использовать такой способ: Зачем все так сложно: все это автоматически делается при помощи Дизайнера, т.е. Зачем все так сложно: все это автоматически делается при помощи Дизайнера, т.е.

roebic-spb.ru

96 Comments

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>