Strangely hard

S

Support

Hello:
In asp.net, I want to select a row on a databound datagrid.

I know the row's index so I only want to higlight that particular row.
something like datagrid1.selectedrow=12 or something like that
Thanks
Terry
 
E

Eliyahu Goldin

Terry,

If you already know the index, all you need to do is just to make this row
look different form the others. You can prepare a css class for selected
rows and assign it to datagrid1.Items.CssClass.

Alternatively, you can just change any of visual properties of
datagrid1.Items, like font, color etc.

Eliyahu
 

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,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top