100分:为什么我用C#做的asp.net页面不能显示

thlong 2003-04-22 09:13:57
我试着添加一个 "WEB窗体" 控件,比如button.
当我ctrl+F5 或 ctrl+F8 时,在浏览器中不能看到这个button.

但我添加的HTML 中的button 就可以看见

达人帮我呀
...全文
126 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
huaCHINA 2003-04-22
  • 打赏
  • 举报
回复
你的iis是在.net之后装的话,那么就会出现以上问题,在dos下运行以下命令重新注册:
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -i
unfor 2003-04-22
  • 打赏
  • 举报
回复
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -i(用.net命令运行即可)
thlong 2003-04-22
  • 打赏
  • 举报
回复
给分
unfor 2003-04-22
  • 打赏
  • 举报
回复
这个你要看一看Button的属性,如:Visible是否为False如果是则改为true;
还有broderstyle/broderwidth/brodercolor等属性,如果你是按书上来做的话是不会出这种错误的。
thlong 2003-04-22
  • 打赏
  • 举报
回复
>aspnet_regiis -i
命令“aspnet_regiis”无效。

不行呀,达人再指教
cmsoft 2003-04-22
  • 打赏
  • 举报
回复
在运行里运行
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -i
贝贝壳壳 2003-04-22
  • 打赏
  • 举报
回复
试试在visul studio 工具 -->命令行中运行
aspnet_regiis -i
这是第六版的介绍《ASP.NET 4入门经典:涵盖C#和VB.NET(第6版)》内容简介:ASP.NET是.NET Framework的一部,用于构建内容丰富的动态Web站点。其最新的版本ASP.NET 4对上一版进行了许多改进,包括增强了Web窗体,并添加了jQuery的支持。《ASP.NET 4入门经典:涵盖C#和VB.NET(第6版)》循序渐进,逐步讲解了如何使用ASP.NET 4构建内容丰富的Web站点,并提供了大量使用C#和VB的示例。通过实际动手练习,您将学到关于构建Web站点的第一手信息,同时能够深刻理解在浏览器中查看ASP.NET 4页面时,后台到底发生了什么。 这是第七版,也就是本源码书的介绍 The ultimate programming guide to ASP.NET 4.5, by popular author and Microsoft MVP Imar Spaanjaars Updated for ASP.NET 4.5, this introductory book is filled with helpful examples and contains a user-friendly, step-by-step format. Written by popular author and Microsoft ASP.NET MVP Imar Spaanjaars, this book walks you through ASP.NET, Microsoft's technology for building dynamically generated web pages. This edition retains the highly accessible approach to building the Planet Wrox website example, an online community site featuring product reviews, picture sharing, bonus content for registered users, and more. Contains the comprehensive guide to the latest technology additions to ASP.NET 4.5 Shows how to build basic ASP.NET web pages and configure their server Includes information on how to add features with pre-built server controls Reveals how to design pages and make them consistent Contains the information needed for getting user input and displaying data Beginning ASP.NET 4.5 in C# and VB uses Spaanjaars's distinct writing style to put you at ease with learning ASP.NET 4.5.

62,254

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧