摘要:
for (int i = 0; i < dataGridView.RowCount - 1; i++) //dataGridView.RowCount - 1 来获取列数,-1是因为第一列是标题一般 { try { //这些A、B、C等等,是用来存值,为以后SQL语句填值用,Row是行,Cell是列 阅读全文
posted @ 2021-08-12 20:01
Lee597
阅读(178)
评论(0)
推荐(0)
摘要:
以前有过一篇类似的随笔,这次用法与上次不同 try { OpenFileDialog opXls = new OpenFileDialog(); opXls.Multiselect = false;//该值确定是否可以选择多个文件 // 指定打开文档的初始位置 opXls.InitialDirect 阅读全文
posted @ 2021-08-12 19:57
Lee597
阅读(194)
评论(0)
推荐(0)

浙公网安备 33010602011771号