For a column to display a certain value

K

KatMagic

I have a datagrid that is bound to a dataset, with one control in a column
that is not bound. How do I force this column to display something else?

In the ItemDataBound event, I am trying the following and it says there is
no text property on a control. How would I do this?
e.Item.Cells(7).Controls(15).text = 'Hello"



Thank you for your help.
 

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
473,777
Messages
2,569,604
Members
45,226
Latest member
KristanTal

Latest Threads

Top