C# getting INFO from one row to a different Row

Discussion in 'C#' started by TANK0814, Aug 30, 2010.

  1. TANK0814

    TANK0814 New Member

    Aug 30, 2010
    Likes Received:
    Trophy Points:
    Hello I have been trying to get when a user selects a Row im tying to get the information from the 'Packet #' to mean something else in the Discription row

    ex If the packet # = "103, 1" the Discription should display 'Advanced Sheet'

    This is what i have to add items to the list.

    while ((line = reader.ReadLine()) != null)
    String[] lineData = line.Split(new char[] { ' ' });

    //This allows the data to be imputed into the rows that are needed
    subItemTexts[0] = lineData[0];
    subItemTexts[1] = lineData[1];
    subItemTexts[2] = lineData[2];
    subItemTexts[3] = lineData[3];
    subItemTexts[4] = lineData[4];
    //subItemTexts[5] = lineData[5];

    newItem = new ListViewItem(subItemTexts);


    if you can help i would be most happy!
    thank you all

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice