i have variable in web page and i want to do:

copy two things X and Y

x:Name
y:code

i have make to file ini one for x and one for y

in the page , the information like this

x
y
x
y
.....

first line x and next line y >>>

I want to compile a file in the X and Y in another file
Are there ideas to do this

use streamreader simply and use .readline() function to read online and
go to next one.
do it twice in one round inside the loop
first read gives you name second gives you code

end point for loop is .eof()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.