SqlConnectionDataProvider

Allows binding to a SqlConnection. This data provider automatically supports a single level sorting by any field, ascending or descending.

Example:

SqlConnection conn = new SqlConnection(Properties.Settings.Default.ConnectionString);

SqlConnectionDataProvider provider = new SqlConnectionDataProvider(conn);

ListLabel LL = new ListLabel();

LL.DataSource = provider;

LL.Design();

LL.Dispose();