码迷,mamicode.com
首页 >  
搜索关键字:data-    ( 62430个结果
Js_分页
public ActionResult Index(int? pageIndex) { List data = new List(); for (int i = 0; i pagedList = new PagedList(data.As...
分类:Web程序   时间:2014-05-26 19:52:39    阅读次数:279
以继承方式让EF使用泛型
Entity Framework 无法直接使用泛型,但是我们可以通过使用继承的办法来间接使用泛型。Imports System.Data.EntityImports System.ComponentModel.DataAnnotationsModule Module1 Sub Main() Data...
分类:其他好文   时间:2014-05-26 16:38:59    阅读次数:237
UVA Tree Summing
题目如下:  Tree Summing  Background LISP was one of the earliest high-level programming languages and, withFORTRAN, is one of the oldest languages currently being used. Lists,wh...
分类:其他好文   时间:2014-05-25 21:39:51    阅读次数:276
堆排序理解 完整代码
/*自我修改* Note: 堆排序(Heap Sort)*/#include using namespace std;// 输出当前堆的排序状况void PrintArray(int data[], int size){ for (int i=1; i a[i]) // 符号修改后形成...
分类:其他好文   时间:2014-05-25 19:07:25    阅读次数:227
广度优先遍历二叉树
?? // //广度优先遍历二叉树 // //从一个顶点开始,识别所有可到达顶点 // //的方法叫作广(宽)度优先搜索,这种 // //搜索可使用队列来实现 typedef struct binarytree { EleType data; struct binarytree *LeftChild; struct binarytree *RightChild...
分类:其他好文   时间:2014-05-25 18:25:35    阅读次数:316
web文件上传一学习记录 (简单的web浏览器可读文件的上传,servlet 文件上传)
文件上传:这里用得时表单上传的方式,表单上传到的时候 method一定指定为POST,enctype="multipart/form-data".第一种方式,直接上传、读取、显示内容,并没有存储到服务器端。 1 2 6 7 8 9 10 ">11 12 My J...
分类:Web程序   时间:2014-05-25 15:12:42    阅读次数:363
C# WinForm实现Windows 7 Aero磨砂玻璃效果
在Vista系统之后,微软为窗体程序提供了Aero磨砂的效果,如下图。那么用C#如何来实现这种磨砂效果呢?代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;us...
分类:Windows程序   时间:2014-05-25 13:45:06    阅读次数:457
MySQL bug:server-id默认被自动置为1
昨天同事在做主从时,从库报如下错误:Got fatal error 1236 from master when reading data from binary log: 'Misconfigured master - server id was not set'粗粗看好像是master的server-id没有设置,但同事做如下查询:备库采集: root@localhost Fri May 23 ...
分类:数据库   时间:2014-05-25 09:57:24    阅读次数:330
Linux递归解压缩一个文件夹下的所有文件
gunzip -r hongchangfirst/data 如何递归删除那些剩余的非log结尾的文件? 先列出确认一下: find hongchangfirst/data -type f ! -name "*.log" 然后真正的删除: find hongchangfirst/data -type f ! -name "*.log" -exec rm -f {} \;...
分类:系统相关   时间:2014-05-25 09:41:05    阅读次数:694
顺序循环队列的c语言实现
1. 循环队列的顺序存储结构 typedef struct { QElemType data[MAXSIZE]; int front; /* 头指针 */ int rear; /* 尾指针,若队列不空,指向队列尾元素的下一个位置 */ }SqQueue; 2. 初始化一个空队列Q Status InitQueue(SqQueue *Q) { Q->fr...
分类:编程语言   时间:2014-05-25 04:43:05    阅读次数:407
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!