Fork me on GitHub
2sxc 8.11 for DNN 7 to 9
Website Builder, Content Manager, App-System: free and amazing - done your way
You are here: Home  >  Apps

SQL Data Access Demos


download app live demo

Discover more

getting started

Created by

2sic Internet Solutions

System Info

v. 00.00.01
57465f16-ca82-49ca-907e-6f1ee4ff4e0c

DNN App Description

Try the various views in this App to discover how we access SQL data with the following variations:

  1. Read the SQL-DB using a SqlReader
  2. Read the SQL-DB using a DataTable
  3. Retrieve the same data using PetaPoco
  4. Use the automated version with DataPipelines (the SqlDataSource)
  5. A manual method showing how you could use any kind of data and just inject it into the DataTableDataSource
  6. Also demonstrates
    1. how to enable JSON-Publishing in code (very common requirement)
    2. how 2SexyContent automatically calls the CustomizeData() method

Have fun :)

Important notes:

  • Needs 2SexyContent 6.0.6.


Are you new to DNN-Apps?

If this is the first time you've seen DNN-Apps and would like to try one - just install 2sxc first, then install this app inside it.

2serve . 2invent . 2create is 2be.