Access to Control in GridView Template

  • Thread starter Thread starter pvong
  • Start date Start date
P

pvong

Newbie doing this in VB.Net using VS2008.

I created a Template column in my GV and I have a Label control in this
template column and this is column 10.

I have a RowDataBound. All I want it to do is get access Label control.
Can someone show me how to do that?

Pretend I want to give it a text of "123", how can I get label.text = "123"
in RowDataBound?

Thanks!
 
Never mind. I found out I didn't need the label at all. This is all I had
to do.

e.val.cell(10).text = "123"
 
Back
Top