Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
565
Cell text
posted

Hi,

I am using WinTree with OutlookExpress view style.

I want to set same value to all cells of a particular column of the tree control. I wish to achieve this in a faster way other than iterating each and every cell of the column.

Appreciate any help.

Sheeba

Parents
  • 9190
    Suggested Answer
    Offline posted

    Hello,

    I will be happy to assist you with this matter,

    You should be able to use a loop to generate the same value for each cell within a column of a tree.

    Please use the following code as reference:

    //Loop

    for (int i = 0; i <= 100; i++)

    {

    //Adding rows to dataTable

    dt.Rows.Add(i,

    "Employee " + i, 231457);

    }

     

    
    Please let me know if you have further assistance in this matter.

Reply Children
No Data