Read the result set of an SQL query from the database into the DataList. Use the result set column names to set up the column metadata.
A DbConnect object to use (xf.DbConnect is the deafult XF DbConnect object which points to the current database)
The SQL query to use
(no description)
(no description)
Run this SQL first to return a row count. This allows the number of rows to be allocated at the start and avoids progressing ReDim operations to expand the underlying storage array. Can increase loading speed for large datasets.
(no description)
(no description)
(no description)
(no description)
(no description)
lst.AddSQLResultsetDbConn xf.DbConnect, "SELECT * FROM Categories"