i'm sorry for opening new thread which i had started in another forum. i just wanna get replies asap.
i have a problem like this. is it possible to declare a variable which its name based on iteration?
this can be done in PHP with a simpe script:
Code:
For($i=1; $i<4; $i++){
${"strRead{$i}"} = ${"chkRead{$i}"}
}
with the above script, we got variables $strRead1, $strRead2 and $strRead3.
i'm pretty sure that .net has its way to do it. i cannot use an array because these variables will be used in web form control.
thanx in advance,
tonjaw
_____________________
Dominus Tecum