Connecting acess databse in asp.net

Discussion in 'ASP.NET' started by manojkumarmaithil, Feb 25, 2008.

  1. manojkumarmaithil

    manojkumarmaithil New Member

    Joined:
    Jun 18, 2007
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    0
    When i Connect ms acess database in asp.net and try to diplay datain brouser i get this The
    exception
    Microsoft Jet database engine cannot open the file 'D:\Database\Manoj.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
    please help me

    the code is: the connection is estabished through wizard

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    If Not Page.IsPostBack Then

    OleDbDataAdapter1.Fill(DataSet11, "table2")
    DataGrid1.DataSource = DataSet11

    DataGrid1.DataBind()
    End If

    End Sub
    :nice:
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice