Is there a way to dynamically set the repeat direction of a DataList? I'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'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.RepeatDirection = 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'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'm attempting. <BR><BR>Thanks,<BR><BR>])ry<BR>