I find it funny how you are just spam posting really short questions and not really going into any detail. No one will help you if you don't do a bit of work and show us that you have done a bit of research on your end.
Couldn't you just compare it like they're just two arrays.. but with an extra for?
I mean, if I give you two pieces of paper with a matrix on each of them, that's the way your
brain would do it. Here's some pseudocode, because if I were to give you real code, you would just copy it and learn nothing.
flag = 1
for i = 1 to i <= n
for j = 1 to j <= m
if m1[i][j] is not equal to m2[i][j]
flag = 0
if flag is equal to 0
if flag is equal to 1
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 ...