I'm trying to read out data on a masterpage because it is data that has to be shown at all the pages.
So in my master page I have the following code:
1 <%@ Master %>
2 <%@ import Namespace="System.Data" %>
3 <%@ import Namespace="System.Data.SqlClient" %>
4 <%@ import Namespace="Omzetten" %>
5 <script runat="server">
6 Sub Page_Load(sender As Object, e As EventArgs)
7 Dim strSQLpvdw as String
8 strSQLpvdw = "SELECT ...
Go to the complete details ...