What can I do not to get this error? I can click continue, but I want this to run without intervention.
Here is distilled code where this happens:
OleDbConnection con = new OleDbConnection(cons);
OleDbCommand acmd = con.CreateCommand();
con.Open();
foreach (string tab in Tabs)
{
TextFileReadsAndStringManipulation();
acmd.CommandText = qry;
OleDbDataReader rdr = acmd.ExecuteReader();
while (rdr.Read())
{
for (int i = 0; i < flds.Length; i++)
{
string s = rdr.GetValue(i).ToString().Replace("&", "&");
s = s.Replace("<", "<");
flds[i] = s.Replace(">", ">");
}
string arow = String.Format(row, flds);
wks = wks.Replace(Here, arow);
}
rdr.Close();
}