最近需要给学生讲报表,.NET的自然就是选择RDLC了。因为学生比赛是用Visual Studio 2013,所以我在自己的笔记本上安装了Visual Studio 2013(平常是用2010),安装好了之后,按照官方文档的说明拖动ReportViewer控件到一个Form上,但是很奇怪没有出现官方...
分类:
其他好文 时间:
2014-08-02 12:31:23
阅读次数:
217
与折半查找是同一个模式,不同的是,在这里不在查找某个确定的值,而是查找确定值所在的上下边界。def getBounder(data, k, start, end, low_bound = False): if end > 1 if data[ mid ] > k: end = mid - 1 ...
分类:
其他好文 时间:
2014-08-02 10:01:53
阅读次数:
208
昨天晚上学习视频“L11-16-配置MySQL从库记录binlog及其生产应用场景w”,开头部分就卡住了。在数据库的配置文件/data/3307/my.cnf里,开启参数“log-bin=/data/3307/mysql-bin”,并增加“log-slave-updates”参数之后,重启数据库服务。测试创建1个新库“createdatabaseoldgi..
分类:
数据库 时间:
2014-08-02 07:45:33
阅读次数:
230
$form?=?$this->beginWidget(‘CActiveForm‘,array(
????????‘id‘?=>?‘add_host‘,
????????‘enableAjaxValidation‘?=>?false,
????????‘enableClientValidation‘?=>?true,
???...
分类:
其他好文 时间:
2014-08-02 01:57:42
阅读次数:
228
contextConfigLocation classpath:/spring-dataSource.xml, classpath:/spring-data.xml, classpath:/spring-server.xml, /WEB-INF/applicationCo...
分类:
Web程序 时间:
2014-08-02 01:49:02
阅读次数:
336
今天是在吾索实习的第18天。我主要学习了如何在ASP.NET中对SQLite数据库的操作,其基本操作如下:添加引用System.Data.SQLite.dll(PS:在网页里面任意找到适合的.NET Framework版本与位数所对应的压缩包,里面就会有该文件了)。在所在cs文件中加入using.....
分类:
数据库 时间:
2014-08-02 01:48:46
阅读次数:
258
ModelsA model is the single, definitive source of information about your data. It contains the essential fields and behaviors of the data you're stori...
分类:
数据库 时间:
2014-08-02 01:43:32
阅读次数:
297
使用Mvc里的插件jquery.unobtrusive-ajax.min.js之前一直困在这里,一开始以为添加属性enctype="multipart/form-data"就可以网上看到都是用另外一个插件jquery.form.js于是,从某篇文章的附件中下载了jquery.form.js,弄了许久...
分类:
其他好文 时间:
2014-08-02 01:35:32
阅读次数:
388
c++构造函数初始化成员变量列表: 1 #pragma once 2 class Node 3 { 4 public: 5 int data; // 权值 6 Node *parent; // 父节点 7 Node *left; // 左子节...
分类:
编程语言 时间:
2014-08-02 01:35:02
阅读次数:
263
要让一个Windows Form的TextBox显示多行文本就得把它的Multiline属性设置为true。 要让TextBox里面的文本换行大家往往会想到直接在要换行的地方加个转义的换行符"\n": [csharp] view plaincopyprint?this.textBoxDescript...