TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
arun_sekar_cincy
NA
2
0
Data Access for a "mdb" file using a web form
Mar 30 2004 9:15 PM
Hi I am Arun. My question is about the data access methods available in C# in web forms. I have a simple database file in MS Access with three columns, EmployeeID, FirstName and LastName. I am trying to just display these onto the form through a label as explained in a couple of reference books. I tried typing out the code exactly as it is and then tried changing it little by little. I used the Server explorer and the Data Controls on the toolbox in VS.Net, to bind my table - i have only one table - and there is an error in some or the other line. THe main error message i get is "The Microsoft Jet database engine cannot open the file 'C:\Documents and Settings\robotfan\Desktop\students.mdb'. It is already opened exclusively by another user, or you need permission to view its data. " Please explain what is going wrong here.. is it that I dont have user permissions on the computer or is something wrong with the code. I tried out the code posted by Gustavo Pares on 01/14/2003 under the title "From DAO to ADO.Net" on this web site. Thanks Arun
Reply
Answers (
1
)
Howto insert first row in dropdown list before databind()
.NET [Compact, XML] Create Empty Dataset