C# code I want to execute :
FullReservationDataControl1.SetData(Reservation);
but instead of typing 'FullReservationDataControl1' I want to loop it, so I made a for loop to get me an array of strings having this content : FullReservationDataControl+x
where x is a number. so my question is how to use a string to execute a command and not ending with an error due to execution of :
"FullReservationDataControl4".SetData(Reservation);