C#
chensyabc
这个作者很懒,什么都没留下…
展开
-
c#使用application
<br />如何使用如何使用,google好多网站,唉,就是找不到方法,最后搜索httpcontext.current,终于搜索出来了,整理如下:<br /> <br />首先在cs文件中引用<br />using System.web;<br />然后项目中添加引用system.web.dll;<br />最后在文中使用system.web.Httpcontext.Current.Application,ok了<br /> <br /> <br />再次提醒下,application【】中需要输入stri原创 2010-12-23 17:12:00 · 2422 阅读 · 0 评论 -
如何把字符串中的回车空格替换成其他的字符
char EnterChar = (char)13;char SpaceChar = (char)10;Text = Text.Replace(EnterChar.ToString(),"~");Text = Text.Replace(SpaceChar.ToString(),"~");原创 2011-03-28 10:28:00 · 1430 阅读 · 0 评论 -
问题 Reference in the manifest does not match the identity of the downloaded assembly 解决方案汇总
WPF程序以ClickOnce发布的时候,遇到问题: Reference in the manifest does not match the identity of the downloaded assembly 搜索若干方案,未凑效,整理如下: 1,In project properties -> Application tab -> Resources -> chec...原创 2019-02-25 13:30:46 · 484 阅读 · 0 评论