Strangely hard

Discussion in 'ASP .Net Datagrid Control' started by Support, Sep 13, 2004.

  1. Support

    Support Guest

    In, 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
    Support, Sep 13, 2004
    1. Advertisements

  2. 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 Goldin, Sep 14, 2004
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.