Victor Charles
asked on
Help with passing table names and testing if table exist in For Next Loop
Hi,
I have max 4 tables (Country, NSN,NSC,NAA) in my LinkSearch File, How do I modify the code below to search for all 4 tables and encrypt if they exist?
Dim sec As New Security
For i As Integer = 0 To dtsetlinkBEL.Tables(0).Row s.Count - 1
For j As Integer = 0 To dtsetlinkBEL.Tables(0).Col umns.Count - 1
dtsetlinkBEL.Tables(0).Row s(i).Item( j) = sec.psEncrypt(dtsetlinkBEL .Tables(0) .Rows(i).I tem(j))
Next
Next
dtsetlinkBEL.WriteXml(Appl ication.St artupPath + "\LinkSearch.xml")
Thanks,
Victor
I have max 4 tables (Country, NSN,NSC,NAA) in my LinkSearch File, How do I modify the code below to search for all 4 tables and encrypt if they exist?
Dim sec As New Security
For i As Integer = 0 To dtsetlinkBEL.Tables(0).Row
For j As Integer = 0 To dtsetlinkBEL.Tables(0).Col
dtsetlinkBEL.Tables(0).Row
Next
Next
dtsetlinkBEL.WriteXml(Appl
Thanks,
Victor
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER