protected void Button1_Click(object sender, EventArgs e)
    {
        string filename = FileUpload1.PostedFile.FileName, strcon = "";
        if (!string.IsNullOrEmpty(filename))
        {
            UltraWebGrid1.DataSource = null;
            strcon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filename + ";Extended Properties='Excel 8.0;HDR=NO;IMEX=1;IMAX=1;'";
            OleDbConnection conn = new OleDbConnection(strcon);
            conn.Open();
            DataTable sheettable = conn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, new object[] { null, null, null, "Table" });
            OleDbDataAdapter oledbdapter = new OleDbDataAdapter("SELECT * FROM [Sheet1$] where F1 is not null and F1<>'' and F3 is not null and F3 <>'' and F8 is not null and F8 <>''", strcon);
            DataSet ds = new DataSet();
            oledbdapter.Fill(ds);
            sheettable = ds.Tables[0];
            sheettable.Rows.RemoveAt(0);
            UltraWebGrid1.DataSource = sheettable;
            UltraWebGrid1.DataBind();
        }
        else
        {
            UltraWebGrid1.DataSource = null;
            UltraWebGrid1.DataBind();
        }
    }
这是我的代码,为什么我导入EXCEL的时候只有把文件放进C:\WINDOWS\system32\这个路径里面才能正常导入,但是放在别的路径,就会报错,说在该路径找不到文件,这是为什么,怎么才能把EXcel文件放入任意一个路径,也能正常导入呢??