1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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