welcome to Qijie's Blog 薛其杰

随笔分类 -  ASPNET

IFrame 获取内容
摘要:试试:iframe.contentwindow.document.documentElement.innerHTMLdocument.getElementById("MyIFrame").contentDocument.getElementById("s").style.color="blue"; ... 阅读全文
posted @ 2015-07-03 17:17 零点零一 阅读(453) 评论(0) 推荐(0)
使用WebMatrix发布网站到Windows Azure
摘要:1. 在本地机安装 WebMatrix, 安装Windows Azure SDK2. 登录Windows Azure, 网站 > 创建一个新网站或选择已有网站3. 在发布应用程序,选择下载发布配置文件,发布配置文件是一个以目录命名的后缀名为.PublishSettings的文件4. 在本地,使用We... 阅读全文
posted @ 2014-06-26 16:32 零点零一 阅读(613) 评论(0) 推荐(0)
@Html.DropDownListFor 绑定列表项
摘要:MVC中为 DropDownListFor 绑定列表项, 一种方案从后台加载列表内容,通过ViewData传递到前台页面.View: @Html.LabelFor(model => model.CategoryType) @Html.DropDownListFor(model => model.CategoryType, ViewData["Type"] as SelectList) @Html.ValidationMessageFor(model=>model.CategoryT... 阅读全文
posted @ 2014-03-18 14:28 零点零一 阅读(13783) 评论(0) 推荐(1)
远程文件拷贝
摘要:http://blog.sina.com.cn/s/blog_4c6e822d0100ianf.html 阅读全文
posted @ 2013-09-05 20:04 零点零一 阅读(185) 评论(0) 推荐(0)
Global.asax 详解
摘要:在网上找了N多相关的东西总说的不够细,现在终于找到了.可以了解web.cofig和Global.asax之间的关系以及执行的顺序.在Global.asax.cs文件中protected void Application_BeginRequest(Object sender, EventArgs e){ Application["StartTime"] = System.DateTime.Now;}再在webform1中的page_load事件中添加private void Page_Load(object sender, System.EventArgs e){ Syste 阅读全文
posted @ 2013-08-24 07:53 零点零一 阅读(339) 评论(0) 推荐(0)
Post test data to ASP.NET website
摘要:You may have to test a simple web page to make sure the web page is working fine. the page may only have few controls, like two text boxes and one button. If one textbox is set to a specific value, once you click on the button, the other text box may get a defined value, then you could check the re. 阅读全文
posted @ 2012-02-04 19:35 零点零一 阅读(275) 评论(0) 推荐(0)
链接:一篇介绍ASP.NET 2.0 Membership的文章
摘要:怎样使用Membership 阅读全文
posted @ 2010-01-11 12:09 零点零一 阅读(176) 评论(0) 推荐(0)
Deploy web application to remote machine using package
摘要:Scenario is like this, if you developed a web application in your own computer. It runs well in your Dev box, and now you want to let it hosted in your work place server. So you should copy your appli... 阅读全文
posted @ 2010-01-05 11:16 零点零一 阅读(274) 评论(0) 推荐(0)
Web Application Projects- Publish Options
摘要:In a WAP we usually have a Project file, User file, Bin folder, Obj folder, ASP.NET pages, User Contorls, WCF and Web Services etc. ASP.NET pages and other similar files have two additional artifacts ... 阅读全文
posted @ 2010-01-04 15:23 零点零一 阅读(304) 评论(0) 推荐(0)
Creating a Web Package using VS 2010
摘要:good article about creating a Web Package from Joshi.view article... 阅读全文
posted @ 2010-01-04 13:32 零点零一 阅读(157) 评论(0) 推荐(0)
ASP.NET 2.0 Beta2中页面编译模型的变化(转自涂曙光博客)
摘要:首先回到ASP.NET 1.1的“远古时代”,看看ASP.NET引擎是如何处理页面文件和Code-Behind文件的。我们在页面文件的上方通常会看到这样一句声明:<%@ Page CodeBehind="Default.aspx.cs" Inherits="WebApplication1.CDefault" %>当我们在页面文件上加入一个新的ASP.NET控件时... 阅读全文
posted @ 2009-11-30 22:26 零点零一 阅读(289) 评论(0) 推荐(0)