How to see my next data and previous data in C# without database and listbox? : i have 3 button. There are prev, next and add. i have a text file with 6 lines.
So as the form load, it's only display 3 lines ascending text, the other 3 lines is appear when i click next button. But i don't know how to make it appear.
This is my next button code
 

    private void next_Click(object sender, EventArgs e)
            {
    
                string[] baca;
                baca = System.IO.File.ReadAllLines(@path.Text);
    
                nama.Text = baca[3];
                npm.Text = baca[4];
                alamat.Text = baca[5];
    
            }
i want it to display another next lines with only 1 next button.