随笔分类 -  数据结构学习采集

摘要://来源:http://www.cnblogs.com/nbpowerboy/p/3380079.html公司用SharePoint 2010已有三年多的时间了,上BPM项目也有2年多的时间,之前供应商的部署SharePoint数据库都在一个物理盘,数据库文件与日志文件没有进行分开存放到不同的物理磁... 阅读全文
posted @ 2015-06-10 10:12 Star★ 阅读(261) 评论(0) 推荐(0)
摘要:protected void Page_Load(object sender, EventArgs e) { } //它的原理就是相邻的两个两个的比较,如果前面的数比后面的大,那么交换,它这个在比较完一次的时候可以得到最大的一个数,然后接着循环,每次外循环中内循环的次数比原来少一次。 protected void btn_MaoPao_Click(object sender, EventArgs e) { int[] arr = new int[] { 56, 12, 34, 45, 22, 34, 56, 23, 45, 67 }; ... 阅读全文
posted @ 2013-03-12 14:21 Star★ 阅读(240) 评论(0) 推荐(0)
摘要:View Code private void Sort1(int[] list)//冒泡排序 { //从第一个字符向后冒泡亮亮比较获取最大值放在最后 //第一次循环首先得到一个最大值;第二次循环得到第二大值 int i, j, temp; bool done = false; j = 1; while ((j < list.Length) && (!done)) { done = t... 阅读全文
posted @ 2012-08-22 14:11 Star★ 阅读(162) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;public partial class _Default : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Sort(); ... 阅读全文
posted @ 2012-08-06 13:28 Star★ 阅读(1299) 评论(0) 推荐(0)