本文介绍了如何根据文件名打开excel文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 大家好我有一个任务, 这是一个Windows窗体应用程序,我的UI有一个输入文件夹选择按钮来选择一个文件夹路径,有一些该文件夹中的文件具有唯一的文件名,我也有文本框供用户输入。 所以最后用户给出一个特定的文件名,然后它会自动打开.. b $ b i几乎完成了根据用户输入搜索文件的任务,但是我自动打开该文件...任何人都会帮助我??? 解决方案 System.Diagnostics.Process.Start( myFile.xls); Hi everyone i have a task, It is a windows form applicaiton,my UI is having an input folder select button to choose a folder path,have some files in that folder with unique file names and also i have textbox for user input purpose.so finally user gives a particular file name then it will open automatically..i have almost the task it saerch the file based on user input but i am lagging to open that file automatically...will anyone plz help me??? 解决方案 System.Diagnostics.Process.Start("myFile.xls"); 这篇关于如何根据文件名打开excel文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!