Is there a way to dynamically set the repeat direction of a DataList? I&#039;ve built a tool that allows our customers to build their own lists and one of the options they can choose is the direction in which they would like the list to go. I&#039;m trying the following to no avail:<BR><BR><BR>listTypeRD.Read()<BR> dim listOrientation AS RepeatDirection = listTypeRD("listOrientation")<BR>listTypeRD.Close( )<BR><BR>.<BR>.<BR>.<BR><BR>pageDL.RepeatDirectio n = listOrientation<BR><BR>The listOrientation column in the database is varchar(50) and is storing values like "Horizontal" or "Vertical"<BR><BR>The error I&#039;m getting is: System.FormatException: Input string was not in a correct format.<BR><BR>Obviously I left out a ton, but this should be enough to see what I&#039;m attempting. <BR><BR>Thanks,<BR><BR>])ry<BR>