Uanle to import xlsx file in Asp .Net
I am uanle to import xlsx file in Asp .Net getting below error:-

Could not find installable ISAM.

I am using below code for importing xlsx file:-

 'function
    
       Protected Function ExcelConnection() As OleDbCommand

        ' Connect to the Excel Spreadsheet
        Dim xConnStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
                    "Data Source=C:\Users\tcs0028\Desktop\Upload1.xlsx;" & _
                    "Extended Properties=Excel 12.0;"

        ' create your excel connection object using the connection string
        Dim objXConn As New OleDbConnection(xConnStr)
        objXConn.Open()

        Dim objCommand As New OleDbCommand("SELECT * FROM [Sheet1$]", objXConn)
        Return objCommand

Plz suggest?
Uanle to import xlsx file in Asp .Net
===

I am uanle to import xlsx file in Asp .Net getting below error:-

Could not find installable ISAM.

I am using below code for importing xlsx file:-

 'function
    
       Protected Function ExcelConnection() As OleDbCommand

        ' Connect to the Excel Spreadsheet
        Dim xConnStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
                    "Data Source=C:\Users\tcs0028\Desktop\Upload1.xlsx;" & _
                    "Extended Properties=Excel 12.0;"

        ' create your excel connection object using the connection string
        Dim objXConn As New OleDbConnection(xConnStr)
        objXConn.Open()

        Dim objCommand As New OleDbCommand("SELECT * FROM [Sheet1$]", objXConn)
        Return objCommand

Plz suggest?