Access to Control in GridView Template

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!
 
P

pvong

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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,158
Messages
2,570,882
Members
47,414
Latest member
djangoframe

Latest Threads

Top