Sorry about the 'he' in my previous post. I should have realized Leena is a female name. My apologies.
Anyway, what else does this assignment consist of? We can't just give you the source code for an assignment without you showing the slightest understanding of the material. You should read the forum rules before starting new threads. You must show some effort and ask a clear, coherent question in order to warrant a helpful response from the rest of the community.
I don't know what an employee pay revision list should consist of either. My guess would be the employee's old salary and the new revised salary. This should have been described in the assignment. Is there anything in the assignment description that can give some more information?
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...