hello,
just i want how i can use foreachto write the checked radio button in file in more than 10 forms.........:)

You can use for loop like this:

for (int i = 0; i < 10; i++)
{
     forms[i].Contorls.Add(radiobutton);
}

Thanks

use for loop???!!

You can use for loop like this:

for (int i = 0; i < 10; i++)
{
     forms[i].Contorls.Add(radiobutton);
}

Thanks

using for loop?? how pleas??

You can use for loop like this:

for (int i = 0; i < 10; i++)
{
     forms[i].Contorls.Add(radiobutton);
}

Thanks

aha ok but pleas can i use the same way to write the same way to save radiobutton text which user checked in text file??

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.