hi everyone,
i want to create one gridview with linkbutton and some columns in one form.
my requirement is i want to click on linkbutton in gridview,that row one coloumn data bind to textbox in same form.
plz give me anyone samplecode.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Roei BarPosted Oct 19, 2009, 9:30 AM
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowcommand(VS.80).aspx
and
http://www.dotnetspider.com/forum/121068-How-add-buttons-DataGridView.aspx
jeevan mummadiPosted Oct 19, 2009, 8:39 AM
jeevan mummadiPosted Oct 19, 2009, 8:39 AM
Roei BarPosted Oct 19, 2009, 7:56 AM
On the Item_DataBound
attach to the LinkButton the RowId
then on the click event of the Button goto GridView on the Row id that is on the LinkButton RowId
on the Text Colomn
Nilanka DharmadasaPosted Oct 19, 2009, 6:39 AM