Home / Software / Tips and Tricks / How to update a row in a asp dot Net Repeater On a button Click from the same row?

How to update a row in a asp dot Net Repeater On a button Click from the same row?

Updated:  10/20/2012 10:10 AM
Author:  Shiju Mathews

Status:    Resolved.


In an ASP.net Repeater we can update each row by a button click, from the button placed on the same row of the 'Repeater'.

Consider a repeater in which we need to update the text field. Place a button control in another coulmn on the same row. Place a hidden control to store the primary key value.



The RepeaterItem can be accessed by the 'NamingContainer' property of the button control.