摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Li 阅读全文
posted @ 2016-12-17 11:28 如果声音记得 阅读(1952) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; u... 阅读全文
posted @ 2016-12-17 11:27 如果声音记得 阅读(773) 评论(0) 推荐(0) 编辑
摘要: 一、 Controller向View传递数据 1. 使用ViewData传递数据 我们在Controller中定义如下: [csharp] view plain copy print? ViewData[“Message_ViewData”] = “ Hello ViewData!”; [cshar 阅读全文
posted @ 2016-12-17 10:39 如果声音记得 阅读(859) 评论(0) 推荐(0) 编辑
摘要: 第一步: 在mysql安装目录中找到my.ini将: #sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" 改为:(如果没有则可直接设置) sql-mode="NO_AUTO_CREATE_USER,NO 阅读全文
posted @ 2016-12-17 10:35 如果声音记得 阅读(2704) 评论(0) 推荐(0) 编辑