Iterating through the fields of a Form C#

alfredowild

New Member
I want to loop through the values in the form and write them to a table. Ive got the table open and can write to it, but now I need to know how to setup my foreach loop in C#?Let me scratch my rusty C++ brain here<BR><BR>for(i=0; i<10; i++)<BR>{<BR>myval = myForm.Text<BR>}<BR><BR>Something along those lines<BR><BR><BR><BR>RobHere<BR>http://www.csharp-station.com/Tutorial_Lesson4.htm<BR>
 
Back
Top