Fork me on GitHub
摘要: var drawChart = function(sourceUrl) { $.ajax({ "type" : "post", "url" : sourceUrl, "success" : function(result) { var data = result.data;//获取数据 var categories = result.categories;//categories类别 var datas = []; ... 阅读全文
posted @ 2014-03-12 01:21 lingfeng95 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 转载请标明出处:http://blog.csdn.net/songylwq/archive/2010/12/01/6047609.aspxJSON数据如:{"options":"[{\"text\":\"王家湾\",\"value\":\"9\"},{\"text\":\"李家湾\",\"value\":\"10\"},{\"text\":\"邵家湾\",\" 阅读全文
posted @ 2014-03-12 01:12 lingfeng95 阅读(239) 评论(0) 推荐(0) 编辑
摘要: var chart; $(function() { chart = new Highcharts.Chart({ chart: { renderTo: 'chart_combo' //关联页面元素div#id }, title: { //图表标题 text: '2011年东北三大城市水果消费量统计图' }, xAxis: { //x轴 categories: ['柑橘', '香蕉','苹果', '梨子'], //X轴类别 ... 阅读全文
posted @ 2014-03-11 11:59 lingfeng95 阅读(387) 评论(0) 推荐(0) 编辑
摘要: [Ajax.AjaxMethod(Ajax.HttpSessionStateRequirement.ReadWrite)] public string Hello1() { return "[5,4,3,2,1]";//这种可以 //return " "; }protected void Page_Load(object sender, EventArgs e) { Ajax.Utility.RegisterTypeForAjax(typeof(WebF... 阅读全文
posted @ 2014-03-10 01:21 lingfeng95 阅读(834) 评论(0) 推荐(0) 编辑
摘要: 衬衫 短袖衬衫 长袖衬衫 短袖T恤 长袖T恤 卫衣 开襟卫衣 套头卫衣 ... 阅读全文
posted @ 2014-03-10 01:17 lingfeng95 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 步骤二:使用VS2010 Tools中的命令提示窗口如下图所示执行结果:生成myschema.xsd对应的C#类文件。命令剖析:/c 生成对应的类文件/l:cs 类文件使用C#语言/out 类文件输出位置为D盘根目录下。 阅读全文
posted @ 2014-03-08 16:08 lingfeng95 阅读(598) 评论(0) 推荐(0) 编辑
摘要: 一、数据库连接语句 1、MSSQL数据库链接示例 2、Access 2003数据库链接示例:"{0}"代表根目录 Access 2007或以上版本的链接 3、Oracle 数据库链接示例 4、SQLite 数据库链接示例 5:MySQL数据库链接示例 二、json数据转换 阅读全文
posted @ 2014-02-17 09:21 lingfeng95 阅读(5804) 评论(0) 推荐(0) 编辑
摘要: 窗体拖动不闪 private void Panel_MouseDown(object sender, MouseEventArgs e) { mousePoint = new Point(e.X,e.Y); } private void Panel_MouseMove(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { //this.SetBounds(... 阅读全文
posted @ 2013-12-22 22:58 lingfeng95 阅读(333) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace FileStreamRead{ class StreamReadDemo01 { public StreamReadDemo01() { } /// /// 一个字节一个字节的读 /// public void ReadFile() { FileStream f... 阅读全文
posted @ 2013-12-15 10:24 lingfeng95 阅读(248) 评论(0) 推荐(0) 编辑
摘要: int[] a = new int[3]; a[0] = 5; int[] a1 = { 1, 2, 3 }; int[] a2 = new int[] { 1, 2 }; int[] a3 = new int[3] { 1, 2,3 }; int[] a5; a5=new int[5]; //多维数组,数组两个数不能为空 int [,] b=new int[3,4]; int[,] b4; ... 阅读全文
posted @ 2013-12-14 18:46 lingfeng95 阅读(259) 评论(0) 推荐(0) 编辑