Isabella
---- I fell upon the thorn of life, I bleed.
摘要: 有时,我们需要导出数据到EXCEL 或word,并且包含CSS样式。我们可以把这个CSS样式设置成绝对路径,这样下载的文件自然也会带有样式。把link到页面的CSS的href= "../style.css " 改成绝对路径,比如href= "http://www.csdn.net/style.css "我们也可以把CSS样式文件做为一个流刷到输出流里。下面是一个简单的例子:.aspx pageSelect File Format<asp:DropDownListid="ddlFile"runat="server&quo 阅读全文
posted @ 2012-09-11 11:01 李昀璟 阅读(429) 评论(0) 推荐(0) 编辑
摘要: Some time ago I start to play with ASP.NET MVC. It is very well pattern and Microsoft made nice choose that implemented it for ASP.NET in my opinion.I started a project that uses ASP.NET MVC. This project requests multilingual support. I use resources for this. It works well when I use resource' 阅读全文
posted @ 2012-08-14 17:17 李昀璟 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 一般IIS运行不了ASP.NET,试一下下面四种方法,99%有效: 1. .NET 安装的顺序应该是先装IIS,再装VS.NET,如果次序反了,或者IIS重装了,就需要使用aspnet_regiis.exe -i来重新安装IIS Mapping(主要用于aspx, asmx等文件的Extention的匹配)。到所有程序-〉Microsoft Visual Studio 2005/2008/2010-> Visual Studio Tools->Visual Studio 2005/2008/2010 Command Prompt,运行下面的命令:aspnet_regiis.exe 阅读全文
posted @ 2012-04-01 15:58 李昀璟 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: Request for informationI am writing to inquire about . . .I am writing in reference to . . .I read/heard . . . and would like to know . . .Could you please send me . . .at the address below/aboveThank you for your assistance.I look forward to hearing from you.Response to requestThank you for your in 阅读全文
posted @ 2012-04-01 11:09 李昀璟 阅读(364) 评论(0) 推荐(0) 编辑
摘要: Title:How to Plan a MeetingAuthor:Matt HellerSource:How To Do Things.comPicture:Wikipedia.orgSee also:Meetings and Discussions.Excerpt:Face-to-face meetings are the best way to reach a decision that requires discussion. Great meetings don't happen by accident. They are a result of advance planni 阅读全文
posted @ 2012-04-01 11:01 李昀璟 阅读(391) 评论(0) 推荐(0) 编辑
摘要: Analyzing Problems: Focusing on the main problem/issueWhat is the main problem?What is the real issue (here)?(I think) the major problem is . . .Our primary concern is . . .The crux of the matter is . . .(As I see it), the most important thing is . . .The main problem we need to solve is . . .We rea 阅读全文
posted @ 2012-04-01 11:00 李昀璟 阅读(287) 评论(0) 推荐(0) 编辑
摘要: ApologizingI'm sorry.I made a mistake.Please accept my apologies.I'm sorry. I didn't mean to . . .(I'm) sorry. I didn't realize that . . . .That's okay.No problem.Prefacing bad newsI'm sorry (I have) to tell you this, but . . .I hate to tell you this, but . . .I don't 阅读全文
posted @ 2012-04-01 10:46 李昀璟 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 1. 添加PortalAlias:使用Host登录,到SiteManager里,添加PortalAlias,规则如下: http://localhost:8601/default.aspx 别名为localhost:8601 http://[Your IP]:8601/default.aspx 别名为[Your IP]:8601 http://[Your IP]/[VirtualDirectory]/default.aspx 别名为: [Your IP]/[VirtualDirectory]2. 如果不起作用请使用iisreset 重启IIS3. 如果还不能访问,请关掉防火墙。 阅读全文
posted @ 2012-03-30 11:08 李昀璟 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 升级后不能登录- 这种情况一般是因为你完成了升级却忘记覆盖 MACHINEKEY 配置。但愿你在升级前有备份旧的网站,这样你就能从旧的web.config里得到正确的machinekey。如果你是使用UPGRADE包升级,你将不会遇到这种情况。升级后遇到编译错误- 这可能是因为升级你的web.config到.Net3.5而引起的一个问题。最简单的解决方法是检查web.config里的<system.codedom /><compilers />节点区,是否和下面的例子一样。ASP.NET 2.0<system.codedom><compilers> 阅读全文
posted @ 2012-03-26 16:01 李昀璟 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 如果在设置网站的时候使用了端口,例如localhost:8000。你会发现除了首页可以访问其它的页面一点击就会出现错误, 我们还需要进行一些设置:打开数据库中的[PortalAlias]表,你会看到一条记录, 把HttpAlias从localhost改为localhost:8000在网站根目录的web.config中找到<appSettings>中的<add key="UsePortNumber" value="true" />并启用另外还需要重新启动一下DNN网站清除缓存,当再次访问时端口号即可正常使用。http://local 阅读全文
posted @ 2012-03-26 15:38 李昀璟 阅读(443) 评论(0) 推荐(0) 编辑