Adding check box to data grid custome control.

Discussion in 'ASP .Net Datagrid Control' started by Arvind, Aug 11, 2007.

  1. Arvind

    Arvind Guest

    Hi,

    i am using custome data grid control, which does not have the coloumn
    tag i.e property
    so i can't add rows explicity in aspx file. i also tried this

    DataColumn dcSelect = new DataColumn("Select");
    dcSelect.DataType = System.Type.GetType("System.Boolean");

    and add new row value as

    dr["Select"] = false ;
    dtAgentBasedMonitor.Rows.Add(dr);

    but it's not working as displaying only true or false when i assing
    new row.

    can anyone konw another way?
     
    Arvind, Aug 11, 2007
    #1
    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.