Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP.NET (http://www.go4expert.com/forums/asp-net/)
-   -   Connecting acess databse in asp.net (http://www.go4expert.com/forums/connecting-acess-databse-aspnet-t9034/)

manojkumarmaithil 25Feb2008 15:24

Connecting acess databse in asp.net
 
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:


All times are GMT +5.5. The time now is 15:13.