Add recipients by executing a SQL Query.
Note: You can execute the query against your own Connection String which can be specified in web.config
Step 1
Add content through SQL query using below steps :-
Please use data-query-name attribute in your div with sql query name "Studentapplications" after that you need to add one more div with attribute data-template="item"and then place the sql token [SQL:name] and [SQL:class]
Example
<div data-query-name="Studentapplications">
<h1>News </h1>
<div data-template="item">
<h3>[SQL:name] - [SQL:class]</h3>
</div>
</div>
Step 2
SQL query
Query Name :Studentapplications
Sql Query : select name,class from student