itmastermd
IS-IT--Management
We are trying to debug a custom program and unfortunately the programmer is no longer with company. What the program is doing is parsing a text file and adding certain lines to an Arraylist. This ArrayList is one of 7 database fields which are populated from data parsed from these files. We show the ArrayList getting populated correctly but it is not writing to the database. Here is the line of code and variable declaration which I am referring. Any suggestions?
ArrayList Text = null;
DR["BookMarkText"] = string.Join("\r\n", (string[])Text.ToArray(typeof(string)));
ArrayList Text = null;
DR["BookMarkText"] = string.Join("\r\n", (string[])Text.ToArray(typeof(string)));