%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ import namespace="System.Data" %> <%@ import namespace="System.Data.SqlClient" %> <%@ import namespace="System.Reflection" %> <%@ Import namespace="System.IO" %> <%@ Register TagPrefix="Mono" Namespace="Mono.Controls" assembly="tabcontrol2" %>
You should set up a database for user 'monotest', password 'monotest' and dbname 'monotest'
Then modify the variables DBProviderAssembly, DBConnectionType and DBConnectionString in server.exe.config file to fit your needs.
The database should have a table called customers created with the following command:
CREATE TABLE "customers" ( "id" integer NOT NULL, "name" character varying(256) NOT NULL, "address" character varying(256) NOT NULL ); CREATE UNIQUE INDEX id_idx ON customers USING btree (id);