vb.net - Insert a row between two existing rows in a dynamically created column in asp.net -
i creating table dynamically.
now add data table database.
on every row of table create button.
up works fine.
now when user clicks on button want add new row table below button clicked. mean want insert new row between existing rows.
any ideas?
if using grid view or data table apply commandname property button handle in grid view/data table command click method. there can determine row button in , create new row , insert below.
if creating table html dynamically bit trickier, add html comments after each row row number , give each button command argument row number replace comment text new row.
Comments
Post a Comment