请看代码,我在usercontrol的ascx文件中稍作改动,我是否也需要上传它的dll? [英] Please see the code, I have made a slight change in usercontrol's ascx file only, do I need to upload its dll as well?

查看:63
本文介绍了请看代码,我在usercontrol的ascx文件中稍作改动,我是否也需要上传它的dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



Hello,

In a webuser control I had below line.

 <img src='<%=Users[0].URL%>' alt='<%=Users[0].Name%>' />

which I had modified by just adding an if condition as below

<% if(Users.Count !=0) { %>

 <img src='<%=Users[0].URL%>' alt='<%=Users[0].Name%>' />

<% } %>

Now my question is, will it do if I just upload usercontrol.ascx file to the server or I'll to upload its dll as well?

Since I did not modify its code behind page file, I do not think I need to do so. Please help me and let me know if I am wrong.





谢谢,



Thanks,

推荐答案

检查最近修改的dll时间。如果它与你的构建时间匹配,只需将它与你的设计师一起移动。设计器文件单独更改,因此它不会影响dll。移动.ascx文件是最佳选择。
Check for the recent modified time of the dll. If it matches with ur build time just move it along with ur designer. The designer file is alone changed and so it'll not affect the dll. Moving the .ascx file is the best option.


这篇关于请看代码,我在usercontrol的ascx文件中稍作改动,我是否也需要上传它的dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆