I'm doing this:
if ((this.Tables.Contains(dt.TableName)) & (this.Tables.CanRemove(dt)))
{
this.Tables.Remove(dt);
}
and my table is not being removed. Which is fine, I guess. The things
is, I don't know why.
I have confirmed that it is the second portion of the boolean that's
saying no to my request (and, yes, the first portion is returning true).
So what are the possible reasons for CanRemove returning false? By what
criteria does its algorithm evaluate the question?