private void CheckDataSize()
{
if (null == this.prgcolumndef)
{
throw new ArgumentNullException("prgcolumndef");
}
if (null == this.prgcolumnid)
{
throw new ArgumentNullException("prgcolumnid");
}
if (this.ccolumn < 0)
{
throw new ArgumentOutOfRangeException("ccolumn", this.ccolumn, "cannot be negative");
}
if (this.ccolumn > this.prgcolumndef.Length)
{
throw new ArgumentOutOfRangeException("ccolumn", this.ccolumn, "cannot be greater than prgcolumndef.Length");
}
if (this.ccolumn > this.prgcolumnid.Length)
{
throw new ArgumentOutOfRangeException("ccolumn", this.ccolumn, "cannot be greater than prgcolumndef.Length");
}
}