Change the caption of "buttons" in a ButtonColumn of a datagrid

B

Billow

I want to change the texts of a bounded ButtonColumn in a datagrid according
to the data of the recordset.
How ?
 
B

Billow

Dear Dian:
Excuse me for making a mistake. Maybe, it is too simple that my
question was explained. What I really want to change is not matched with the
example you supplied. I'd like to change the text of cells of a column which
has been set as a buttonColumn and bounded to a datafield.
I have tried to change its texts with code,but met a setback. Beneath
here is what I have tried:
hyst=menuDataGrid.Items[theboundcolumm].Cells.Text;
//------hyst=""----The returned string was empty, why?
menuDataGrid.Items[theboundcolumm].Cells.Text="the words";
//----The effect showed on the brower was the clicked link was
disappearing. Why? And how can i do ??
 

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

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top