<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="silver_heights._default" %> <%@ Import Namespace="MySql.Data.MySqlClient" %> <%@ Import Namespace="System.Data" %> Home | Silver Heights Restaurant
<% silver_heights.admin.Utils.DbConnect(); MySqlCommand cmd = silver_heights.admin.Utils.MakeQuery("select * from homecontent"); MySqlDataReader r = cmd.ExecuteReader(); while (r.Read()) { %>

<% Response.Write(r["pageTitle"].ToString().Replace("?", "
")); %>

<% Response.Write(r["pageDesc"].ToString().Replace("?", "
")); %>

<% } r.Close(); %>