Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/336.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# VS Express 2013未在aspx dot cs选项卡中更新Web编程id_C#_Asp.net - Fatal编程技术网

C# VS Express 2013未在aspx dot cs选项卡中更新Web编程id

C# VS Express 2013未在aspx dot cs选项卡中更新Web编程id,c#,asp.net,C#,Asp.net,为什么当我在“设计”选项卡中添加新按钮,然后更改它们的ID名称时,它们在aspx点cs页面上不会得到更新 起初,我无法单击服务器控件并进入其aspx dot cs页面,因为我对VS express for web和desktop使用了相同的项目文件夹,并且我对每个项目使用单独的文件夹,但遇到了命名问题。您是否在.cs文件中使用了名称空间是的,我使用的是系统;使用System.Collections.Generic;使用System.Linq;使用System.Web;使用System.Web.U

为什么当我在“设计”选项卡中添加新按钮,然后更改它们的ID名称时,它们在aspx点cs页面上不会得到更新


起初,我无法单击服务器控件并进入其aspx dot cs页面,因为我对VS express for web和desktop使用了相同的项目文件夹,并且我对每个项目使用单独的文件夹,但遇到了命名问题。

您是否在.cs文件中使用了名称空间是的,我使用的是系统;使用System.Collections.Generic;使用System.Linq;使用System.Web;使用System.Web.UI;使用System.Web.UI.WebControl;更新事件属性中的名称时,它会为服务器控件提供新名称和旧名称,例如:受保护的void RadioButton1_CheckedChanged(对象发送方,EventArgs e){}和受保护的void myNewRad_CheckedChanged(对象发送方,EventArgs e){}