hmm, kan ikke få det til at fungere...
Fejl:
The type or namespace name 'opret' could not be found (are you missing a using directive or an assembly reference?)
Jeg har oprettet en standard .aspx fil, og tilføjet 3 filer til projektet.:
connection.cs, oversigt.aspx.cs, xml.cs
Den giver en fejl i connection.cs, hvor jeg 'opret'. 'Opret' laver opkobling til serveren..
Hvor skal jeg tilføje "using opret" (er ny i faget)
min .aspx:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="WebApplication1.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="
http://schemas.microsoft.com/intellisense/ie5"> </HEAD>
<body MS_POSITIONING="GridLayout">
</body>
</HTML>