asp.net - Pass selected gridview value to detailsview template field in edit Mode -


detailsview1 shows master detail selected record of gridview1.

in edit mode, have included functionality search, on user click, gridview2 visibility enabled.

i have data selected row value (eg "accountnumber") gridview2 loaded textbox control in detailsview1 when want update "accountnumber".

how can achieve using vb.net?

i put few ideas come this, worked well.

    dim textbox textbox = trycast(detailsview1.findcontrol("textbox1"), textbox)     textbox.text = gridview2.selectedrow.cells(0).text 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -