@anshusharma - private messaging to members requesting help is not welcome, without prior request/acknowledgement from recipient.
Secondly this is not 24/7 support, we have our personal life's and we help in our personal time not when somebody scream "help", "urgent" or "ASAP".
Close this thread and create new one in JSP section with full description of problem including any relevant coding
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 ...