C#:
[B]string[] IDS = IDSBox.Text.Split('#');[/B]
private void Btn_Click(object sender, EventArgs e)
{
IDSBox.Text = IDSBox.Text.Replace(IDS[0] + "#"+ IDS[1] + "#" + IDS[2] + "#" + IDS[3] + "#" + IDS[4] + "#" + IDS[5] + "#", "");
}
i want to print first 100 elements which is stored in IDSBox.Text textbox.
i don't want to put code for every element, is there any method to get elements?
and my code is removing first elements when call Btn_Click event.
example :
IDSBox.Text have 300 array elements which is seprated by #
i want output like this
*1st time click
output : 1#2#3#4#5#........100
*2nd time click
output : 101#102#103#104#105#........200
*3rd time click
output : 201#202#203#204#205#........300
and then again,
*4th time click
output : 1#2#3#4#5#........100
.
.
.
.
*6th time click
output : 201#202#203#204#205#........300