ASP.NET页面的设计code,当点击简化版,后面code显示code [英] ASP.NET Page does't show code behind code when clicking on Design code
问题描述
页简化版,显示背后$ code C $ C的设计code点击,也当$落后code显示错误C $ C作为没有发现控制
下面code显示误差:系统错误
<%@页面语言=C#AutoEventWireup =真codeFILE =Register.aspx.cs继承=注册%GT;
我不知道为什么它取这种类型的错误,请帮我
code背后:
使用系统;
有关其设计者无法打开code背后的唯一原因是因为它无法找到隐藏文件关联code指定继承=注册
请确保您有一个名为公共类注册
必须是部分
以及
确认还隐藏文件名code被命名为 Register.aspx.cs
Page does't show code behind code when clicking on Design code and also code behind code display error as control not found
Below code display error : System Error
<%@Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" %>
I don't why it fetches this type of error ,please help me
Code Behind:
using System;
The only reason for which the designer cannot open the code behind is because it cannot find the associated code behind file specified Inherits="Register"
Make sure you have a public class named Register
that must be Partial
as well
make sure also the the code behind file name is named as Register.aspx.cs
这篇关于ASP.NET页面的设计code,当点击简化版,后面code显示code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!