记住,webform的编码是在服务器端执行的,服务器端的w3wp.exe是个服务,如果你能运行MessageBox.Show或OpenFileDialog的话,也是在服务器端打开,谁来按其上的按钮呢?而且w3wp.exe是与interactive desktop没关系的,所以,你大概都看不到这些对话框如果你的意思是在客户端打开,用javascript或<input type=file>,参考Implementing a Dialog Box in ASP.NET Based Web Application 
http://www.dotnetjunkies.com/Article/A72FCFD7-3874-408A-8FCE-541BEC74C704.dcik