摘要:
//第一步:清除之前的数据 this.rptView.LocalReport.DataSources.Clear(); //第二步:指定报表路径 this.rptView.LocalReport.ReportPath = "Report2.rdlc"; //第三步:构造新的DataTable DataTable dt = new DataTable("DataTable1"... 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Data; using System.IO; using System.Collections; using System.Threading; using Att_Auto_Tra... 阅读全文
摘要:
定位行: 1.BindingSource.MoveLast(); 2.dataGridView1.FirstDisplayedScrollingRowIndex = dataGridView1.Rows. Count-1; 定位单元格: 1.dataGridView1.FirstDisplayedC 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.OleDb; using Microsoft.Office.Interop.Excel; using System.Xml; using System.... 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.OleDb; using Microsoft.Office.Interop.Excel; namespace ConsoleApplication1 ... 阅读全文
摘要:
阅读全文
摘要:
// 源程序 using System; using System.Collections.Generic; using Syste... 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.OleDb; using Microsoft.Offi 阅读全文
摘要:
//序列化 public void Serialize(Book book) { using (FileStream fs = new FileStream(strFile, FileMode.Create)) /... 阅读全文
摘要:
将Excel数据提取出来放到二维数组中: 阅读全文