ArrayList arrInstr = new ArrayList(); for(int i = 0; i < eqpTag1Count; i++) { if(!String.IsNullOrEmpty(Document.Field("Document Section 1\\Instrument_Tag_Numbers\\Equipment_Tags1[" + i + "]").Text)) { arrInstr.Add(Document.Field("Document Section 1\\Instrument_Tag_Numbers\\Equipment_Tags1[" + i + "]").Text); } } for(int i = 0; i < eqpTag2Count; i++) { if(!String.IsNullOrEmpty(Document.Field("Document Section 1\\Instrument_Tag_Numbers\\Equipment_Tags2[" + i + "]").Text)) { arrInstr.Add(Document.Field("Document Section 1\\Instrument_Tag_Numbers\\Equipment_Tags2[" + i + "]").Text); } } for(int i = 0; i < eqpTagDiffCount; i++) { if(!String.IsNullOrEmpty(Document.Field("Document Section 1\\Instrument_Tag_Numbers\\Equipment_Tags_Diff_Format[" + i + "]").Text)) { arrInstr.Add(Document.Field("Document Section 1\\Instrument_Tag_Numbers\\Equipment_Tags_Diff_Format[" + i + "]").Text); } }
.Add
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)