ASP.NET页面的设计code,当点击简化版,后面code显示code

编程入门 行业动态 更新时间:2024-10-25 06:30:04
本文介绍了ASP.NET页面的设计code,当点击简化版,后面code显示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

本文发布于:2023-10-27 00:15:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1531762.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:简化版   页面   ASP   NET   code

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!