private void btnOpenFile_Click(object sender, EventArgs e)
{
OpenFileDialog openFileDailog1 = new OpenFileDialog();
openFileDailog1.Filter = "Excel 文件(*.xls)|*.xls|所有文件(*.*)|*.*";
if (openFileDailog1.ShowDialog() == DialogResult.OK)
...
12
2012
04
C# 打开Excel文件,并将标题加载到ComboBox中
发布:郑德才博客 | 分类:学习之路 | 评论:0 | 浏览: