Groups | Blog | Home
all groups > dotnet faqs > august 2005 >

dotnet faqs : Without Vs.Net


DMP
8/4/2005 10:55:11 AM
Hi,
I am using Webmetrix for web application on .Net.
I have Test.aspx which use Exam class define in Exam.cs.
How can i link Exam.cs file in my test.aspx file. I try through CodeBehind
/Src But cannot link ?
with regards,

Francois Bonin [MVP]
8/22/2005 12:00:00 AM
the actual syntax is :
<%@ Page CodeBehind="exam.cs" Language="c#" AutoEventWireup="false"
Inherits="exam" %>

assuming the class in your csharp file that represents the form is called
exam

[quoted text, click to view]

AddThis Social Bookmark Button