Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/08/2005, 09:27
mike.p
 
Fecha de Ingreso: abril-2004
Mensajes: 317
Antigüedad: 20 años, 1 mes
Puntos: 0
Como utilizar el Codebehind?

Hola

He creado un Web Form y deseo que 'Page' herede de otra clase.

Tengo esto:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="WebApplication10.WebForm1" %>

Y el archcivo WebForm1.aspx.cs implementado.

Realmente hice esto sin utilizar VStudio u otro IDE asi que como era de esperar

Código:
Parser Error 
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: Could not load type 'WebApplication10.WebForm1'.

Source Error: 


Line 1:  <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="WebApplication10.WebForm1" %>
¿Entonces, como logro utilizar el code Behind en mi caso ?(sin utilizar ningun IDE)

Gracias