登录
首页 » C# » C# 绘制图表

C# 绘制图表

于 2015-04-10 发布
0 237
下载积分: 1 下载次数: 0

代码说明:

C#使用dataset绘制图表

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • STM32F103系列IO操作-LED流水灯
    STM32F103系列IO操作-LED流水灯
    2020-02-18下载
    积分:1
  • c# outlookbar 示例源码下载
    c# outlookbar 示例源码下载
    2014-01-25下载
    积分:1
  • 用webbrowser 签入网页 做winform程序源码(网页可调用硬件信息)
    用webbrowser 签入网页 做winform程序源码(网页可调用硬件信息)
    2014-06-11下载
    积分:1
  • Unity接入高德定位sdk原工程.zip
    解压,替换包名,key直接打包运行。自用工程,真实有效,亲测可用
    2019-08-17下载
    积分:1
  • 图书管理系统(源码+数据库+配置文档)
    图书管理系统(源码+数据库+配置文档)
    2019-07-27下载
    积分:1
  • Visual C#2017 范例程序.rar
    【实例简介】
    2021-07-18 00:32:28下载
    积分:1
  • 关于datagridview控件的简单例子,更容易理解一些
    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace DataGridViewSample{ public partial class Form1 : Form { public static List Tests = new List(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { this.dataGridView1.DataSource = Tests; } private void button1_Click(object sender, EventArgs e) { frmAdd form = new frmAdd(null); if (form.ShowDialog() == DialogResult.OK) { this.dataGridView1.DataSource = null; this.dataGridView1.DataSource = Tests; } } private void button2_Click(object sender, EventArgs e) { if (this.dataGridView1.SelectedRows != null) { frmAdd form = new frmAdd(new Test( Convert.ToInt32(this.dataGridView1.SelectedRows[0].Cells[0].Value), Convert.ToDecimal(this.dataGridView1.SelectedRows[0].Cells[1].Value), Convert.ToDateTime(this.dataGridView1.SelectedRows[0].Cells[2].Value), this.dataGridView1.SelectedRows[0].Cells[3].Value.ToString())); if (form.ShowDialog() == DialogResult.OK) { this.dataGridView1.DataSource = null; this.dataGridView1.DataSource = Tests; } } } private void button3_Click(object sender, EventArgs e) { //使用前面示例中的代码,用DataGridView或者List来做导出都是可以的 } } public class Test { public Test(int id, decimal voltage, DateTime record, string remark) { ID = id; Voltage = voltage; Record = record; Remark = remark; } public int ID { get; set; } public decimal Voltage { get; set; } public DateTime Record { get; set; } public string Remark { get; set; } }}
    2015-06-11下载
    积分:1
  • 非Com形式 创建 桌面快捷方式 附完整类源码
    调用方法: Shortcut sc = new Shortcut(); sc.Path = "目标文件地址"; sc.Arguments = "启动参数"; sc.WorkingDirectory = "启动文件的文件夹"; sc.Description = "描述"; sc.Save("这个快捷方式保存在哪");
    2013-07-14下载
    积分:1
  • 用C#.NET实现删除指定文件
    用C#.NET实现删除指定文件
    2013-10-31下载
    积分:1
  • C# 实现 MD5加密解密算法
    using System.Security.Cryptography;using    System.IO;  using    System.Text; ///MD5加密  public string MD5Encrypt(string    pToEncrypt,  string    sKey)    {       DESCryptoServiceProvider    des  =  new    DESCryptoServiceProvider();     byte[]    inputByteArray  =    Encoding.Default.GetBytes(pToEncrypt);       des.Key  =    ASCIIEncoding.ASCII.GetBytes(sKey);       des.IV  =    ASCIIEncoding.ASCII.GetBytes(sKey);       MemoryStream    ms  =  new    MemoryStream();       CryptoStream    cs  =  new    CryptoStream(ms,    des.CreateEncryptor(),CryptoStreamMode.Write);       cs.Write(inputByteArray,  0,    inputByteArray.Length);       cs.FlushFinalBlock();       StringBuilder    ret  =  new    StringBuilder();     foreach(byte    b  in    ms.ToArray())       {        ret.AppendFormat("{0:X2}",    b);       }       ret.ToString();     return    ret.ToString();      }  ///MD5解密  public string MD5Decrypt(string    pToDecrypt,  string    sKey)    {      DESCryptoServiceProvider    des  =  new    DESCryptoServiceProvider();     byte[]    inputByteArray  =  new  byte[pToDecrypt.Length  /  2];     for(int    x  =  0;    x  <    pToDecrypt.Length  /  2;    x )       {      int    i  =    (Convert.ToInt32(pToDecrypt.Substring(x  *  2,  2),  16));        inputByteArray[x]  =    (byte)i;       }       des.Key  =    ASCIIEncoding.ASCII.GetBytes(sKey);       des.IV  =    ASCIIEncoding.ASCII.GetBytes(sKey);       MemoryStream    ms  =  new    MemoryStream();       CryptoStream    cs  =  new    CryptoStream(ms,    des.CreateDecryptor(),CryptoStreamMode.Write);       cs.Write(inputByteArray,  0,    inputByteArray.Length);       cs.FlushFinalBlock();       StringBuilder    ret  =  new    StringBuilder();                  return    System.Text.Encoding.Default.GetString(ms.ToArray());      }
    2013-11-13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载