(multi-column stuff below!)
Putting a complex expression in a grid column can cause a number of problems - particularly when they include single and/or double quotes.
Ink: The your link should be a quoted string...
='<a href="
target="_blank">
'
(without a semi-colon)
Anything more complex, then create a server-side function (in VBScript or JScript) and refer to it in the grid...
sub gridFormatDateColumn(i_dtValue)
'Rather trivial example
'which may not work.. as the date will be in
'string format by the time it is passed to
'this function
gridFormatDateColumn = FormatDateTime(i_dtValue)
end sub
in the grid:
=gridFormatDateColumn([My_Date_Database_Col])
* notice how the database column(s) are identified using SQUARE BRACKETS [ ].
UncleRoydee: Actually, building the Link in SQL is a great idea and should be much more efficient than this!
MULTIPLE - COLUMNS...
The request to populate a column with the first 50 items, and the second with the next 50 is very tricky when using the DTC grid. Each row of the grid is assumed to come from a SINGLE recordset row. However, not all is lost!
You could fetch all of the data for a complete page into an array and pump it out with your own TR and TD tags (no grid DTC needed). for example:
<%for i = 0 to 49%>
<TR><TD><%=myarray(i)%></TD><TD><%=myarray(i+50)%></TD>..etc..</TR>
<%next%>
(you may wish to convert this to use Response.Write's in a function call)
I have adapted the CheckBox DTC to produce multiple column lists of checkboxs - you can specify the number of columns etc. However, it is not 'paged' like the above would need to be.
(Content Management)