string GetName (int i)
{
ValidateState ();
if (i < 0 || i >= command.Tds.Columns.Count)
throw new IndexOutOfRangeException ();
#if NET_2_0
return (string) command.Tds.Columns[i].ColumnName;
#else
return (string) command.Tds.Columns[i]["ColumnName"];
#endif
}