摘要: 查看一个表中存在的索引sp_helpindex 表名 阅读全文
posted @ 2012-04-22 08:42 iisp 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 做的网站的<ul> <li> <ul> <li>导航一</li> <li>导航二</li> </ul> </li> <li> <ul> <li>导航一</li> <li>导航二</li> </ul> </li> <li> <ul> <li>导航一</li> <li>导航二</li> <... 阅读全文
posted @ 2012-04-21 09:01 iisp 阅读(442) 评论(1) 推荐(1) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <link href="../Scrip 阅读全文
posted @ 2012-04-15 21:31 iisp 阅读(1162) 评论(0) 推荐(0) 编辑
摘要: <table> <asp:Repeater ID="rpt_inves" runat="server" OnItemDataBound="rpt_inves_ItemDataBound"> <ItemTemplate> <tr> <td><b><h7><%#Eval("VoteContent") %></h7></b></td> </tr> <tr> <t 阅读全文
posted @ 2012-04-10 15:30 iisp 阅读(141) 评论(0) 推荐(0) 编辑
摘要: //Response.Redirect("/home/index"); //return Redirect("/home/index"); //return RedirectToAction("index");//在同一个目录下 //return RedirectToAction("index", "home"); //如果不在同一个目录下 阅读全文
posted @ 2012-03-29 15:41 iisp 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 突然发现viewdata字典在前台接收传值的时候有两种格式<h2><%: ViewData["Message"] %></h2><h3><%= ViewData["lsg"] %></h3>冒号格式和等号格式 阅读全文
posted @ 2012-03-29 10:06 iisp 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 这个是示例URLhttp://localhost:2843/ Home / About重典老师说的, Home是控制器 Abount是Action理解为,现在要访问的是 home控制器下的About的方法不是以前的理解了,访问的是home文件加下的about页面…… 阅读全文
posted @ 2012-03-29 09:48 iisp 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 做嘛嘛不行,刚创建的MVC项目,运行就出错了,真搞笑。无法找到资源。说明:HTTP 404。您正在查找的资源(或者它的一个依赖项)可能已被移除,或其名称已更改,或暂时不可用。请检查以下 URL 并确保其拼写正确。请求的 URL:/Views/Home/Index.aspx运行后浏览器的的url地址显示为:http://localhost:2843/Views/Home/Index.aspx解决的办法为,把地址修改为 http://localhost:2843/运行就成功了,但是还是不知道原理,请求大侠们指点……原文出去:http://zhidao.baidu.com/question/3469 阅读全文
posted @ 2012-03-29 09:18 iisp 阅读(366) 评论(0) 推荐(0) 编辑
摘要: <authentication mode="Windows"/> 如果验证方式设置为Windows,则User.Identify.Name取到的是机器名<authentication mode="Forms"> <forms name="forums" path="/" loginUrl="Login.aspx" protection="All" timeout="40"> </forms> </aut 阅读全文
posted @ 2012-01-31 10:13 iisp 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 页面代码<table width="100%" border="0" cellspacing="0" cellpadding="0" class="t1"> <tr style="background:#F00;"> <th width="20%" align="center">推荐会员编号</th> <th width="10%" align="cen 阅读全文
posted @ 2012-01-19 11:40 iisp 阅读(254) 评论(0) 推荐(0) 编辑