private int getRowNumber(int size, Context context)
        {
            int rowNum = 0;

            if (!Int32.TryParse(row, out rowNum))
            {
                if (row.Equals("?"))
                {
                    rowNum = new Random().Next(size);
                }
                else
                {
                    if (!Int32.TryParse(context.GetResolver().Resolve(row), out rowNum))
                    {
                        LOG.ErrorFormat("Parsing of row variable '{0}' failed.", row);
                    }
                }
            }

            return rowNum;
        }