摘要: 返回JsonResult序列化的Json对象 public class MyController : Controller{ // 必须返回ActionResult类型 public ActionResult HelloWorld() { ViewData["Message"] = "Hello W... 阅读全文
posted @ 2014-12-18 16:07 CalabashSun 阅读(173) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace lambda{ class Program {... 阅读全文
posted @ 2014-12-18 14:47 CalabashSun 阅读(232) 评论(0) 推荐(0) 编辑
摘要: ' class=""> '> "> 在css界面:li .active a{} 阅读全文
posted @ 2014-12-18 09:10 CalabashSun 阅读(355) 评论(0) 推荐(0) 编辑
摘要: Array类toString()方法和valueOf()方法,返回特殊的字符串。该字符串是通过对每项调用toString()方法,然后用逗号把它们连接在一起构成的。例如,对具有项"red"、"green"和"blue"的数组调用toString()方法或valueOf()方法,返回的是字符串"red... 阅读全文
posted @ 2014-12-15 17:50 CalabashSun 阅读(99) 评论(0) 推荐(0) 编辑
摘要: js基础学习,小技巧每一项都是js中的小技巧,但十分的实用!1.document.write(""); 输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,scre... 阅读全文
posted @ 2014-12-15 17:05 CalabashSun 阅读(181) 评论(0) 推荐(0) 编辑
摘要: first:同一个页面的前后台传值,(List)eg:.cs{protected IList syList; //定义一个syList方法,没有实现体syList = SyllabusService.GetListByClassAndTerm(1, 1);//数据绑定到syList}.aspx{//... 阅读全文
posted @ 2014-11-25 21:14 CalabashSun 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 接触的新东西:1.castle:说实话上学期间,听都没听过的东西,从头开始学,所以说收货似乎也没多少的收货,链一个实际开发的链接,很小的应用:http://www.cnblogs.com/xiaogangqq123/archive/2011/07/04/2097391.html2.服务器端控件:在上... 阅读全文
posted @ 2014-11-23 19:41 CalabashSun 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1. 当两张表出现关联的时候,关联的外键,千万不能是汉字,千万不能使汉字,因为这个问题,直接导致项目进行不下去。。。。。顺便记录一下知识点(一)当用frameset设置网页的结构的时候eg: //获取当地的天气 这里如果直接 用... 阅读全文
posted @ 2014-11-10 12:47 CalabashSun 阅读(182) 评论(0) 推荐(0) 编辑