This article introduces several ways of how ASP.NET programs accomplish importing from an Excel file and exporting system data to an Excel file on B/S mode,and intrduces the detailed implementation processes of data import and client-side data export.ASP.NET and Excel realized the data exchange finally.