随笔 - 748  文章 - 1  评论 - 107  阅读 - 34万
11 2013 档案
实时更新DataGridView 合计值
摘要:public partial class Form1 : Form { public Form1() { InitializeComponent(); dataGridView1.DataSourceChanged += new EventHandler(dataGridView1_DataSourceChanged); dataGridView1.CellValueChanged += new DataGridViewCellEventHandler(dataGridView1_CellVa... 阅读全文
posted @ 2013-11-25 11:38 z5337 阅读(421) 评论(0) 推荐(0) 编辑
导出为文本格式
摘要:public void DataTable2Txt(DataTable dt, string fullFileName) { if (dt == null) return; try { using (FileStream fs = new FileStream(fullFileName, FileMode.Create)) { using (StreamWriter sw = new StreamWriter(fs... 阅读全文
posted @ 2013-11-18 11:06 z5337 阅读(242) 评论(1) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示