摘要:
见下列代码: static void Main(string[] args) { int[,] a = new int[,] { { 0, 1, 2, 3 }, { 2, 3, 4, 5 }, { 3, 4, 5, 6 } }; Console.WriteLine("规则数组:"); Console.WriteLine(a.Length); Console.WriteLine(a.GetLength(0)); Console.WriteLine(a.GetL... 阅读全文
摘要:
winfrom导入excel内容,要求能够excel中多个工作簿的内容。代码如下:#region 导入excel数据 private void button2_Click(object sender, EventArgs e) { OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.Filter = "表格文件 (*.xls)|*.xls"; openFileDialog.RestoreDirectory = t... 阅读全文