473,382 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

DataAdapter.fill() causes error

yma
Hi,

I tried to display a column in MS Access 2000 nwind.mdb. But I got "It is
already opened exclusively by another user, or you need permission to view
its data." It caused by OleDbDataAdapter1.Fill(DataSet11, "employees") in
page_load sub.

Then I tried to use my local sql server 2000. SqlDataAdapter1.fill() caused
an unhandled system error. Could you show me how to fixed them?

Thank you a lot.
Chris
Nov 20 '05 #1
4 2491
Cor
Hi Yma,

I would also ask this question in the ADO.NET group, the guys in the very
active

microsoft.public.dotnet.framework.adonet

newsgroup see this probably a lot of times.

Cor
Nov 20 '05 #2
I've run into the same situation using Excel simply
because I accessed a cell and changed the data but did
not 'Enter' it, (move to another cell), thus hung up the
access to the refered App. Bet this is your thing too,
let me know if it helps. NM
-----Original Message-----
Hi,

I tried to display a column in MS Access 2000 nwind.mdb. But I got "It isalready opened exclusively by another user, or you need permission to viewits data." It caused by OleDbDataAdapter1.Fill (DataSet11, "employees") inpage_load sub.

Then I tried to use my local sql server 2000. SqlDataAdapter1.fill() causedan unhandled system error. Could you show me how to fixed them?
Thank you a lot.
Chris
.

Nov 20 '05 #3
yma
I could not display data in listview control. Could you try to use the data
control to display data?

Thank you.
"Nitromuse" <an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
I've run into the same situation using Excel simply
because I accessed a cell and changed the data but did
not 'Enter' it, (move to another cell), thus hung up the
access to the refered App. Bet this is your thing too,
let me know if it helps. NM
-----Original Message-----
Hi,

I tried to display a column in MS Access 2000

nwind.mdb. But I got "It is
already opened exclusively by another user, or you need

permission to view
its data." It caused by OleDbDataAdapter1.Fill

(DataSet11, "employees") in
page_load sub.

Then I tried to use my local sql server 2000.

SqlDataAdapter1.fill() caused
an unhandled system error. Could you show me how to

fixed them?

Thank you a lot.
Chris
.

Nov 20 '05 #4
I was working with VB.net and Access yesterday and had to
totally close the Access database before I could update
from VB to Access, which isn't the case with Excel.
-----Original Message-----
I could not display data in listview control. Could you try to use the datacontrol to display data?

Thank you.
"Nitromuse" <an*******@discussions.microsoft.com> wrote in messagenews:02****************************@phx.gbl...
I've run into the same situation using Excel simply
because I accessed a cell and changed the data but did
not 'Enter' it, (move to another cell), thus hung up the access to the refered App. Bet this is your thing too,
let me know if it helps. NM
>-----Original Message-----
>Hi,
>
>I tried to display a column in MS Access 2000

nwind.mdb. But I got "It is
>already opened exclusively by another user, or you
need permission to view
>its data." It caused by OleDbDataAdapter1.Fill

(DataSet11, "employees") in
>page_load sub.
>
>Then I tried to use my local sql server 2000.

SqlDataAdapter1.fill() caused
>an unhandled system error. Could you show me how to

fixed them?
>
> Thank you a lot.
>Chris
>
>
>.
>

.

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: hch | last post by:
dataAdapter.Update(data, "TableName") won’t work! I was about to deploy my first website on the Internet only to discover that the dataAdapter.Update() throws the Server Error in the third...
5
by: JJ | last post by:
Hi, I created a DataAdapter, connection object and dataset generated from DataAdapter by dragging DataAdapter compenent to win form. Now in the code behind I want to use that DataAdapter. I go...
1
by: yma | last post by:
Hi, I tried to use a listbox to display a column in MS Access 2000 nwind.mdb by using ole DataAdapter, Connection and dataset controls. But I got "It is already opened exclusively by another...
20
by: TJ Doherty | last post by:
Need help understanding the following please: When I am creating a project and code my connection using Dim connectString As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data...
2
by: Stanav | last post by:
Hello all, I'm developing a web application using VB.Net 2003 and Framework 1.1. This application queries an AS/400 database. I'm using the IBM OleDb provider that came with IBM Client Access for...
13
by: Doug Bell | last post by:
Hi, I thought I had this sorted this morning but it is still a problem. My application has a DataAccess Class. When it starts, it: Connects to a DB (OLE DB) If it connects it uses an...
3
by: Stanav | last post by:
Hello all, I'm developing a web application using VB.Net 2003 and Framework 1.1. This application queries an AS/400 database. I'm using the IBM OleDb provider that came with IBM Client Access for...
6
by: Rich | last post by:
Dim da As New SqlDataAdapter("Select * from tbl1", conn) dim tblx As New DataTable da.Fill(tblx) '--works OK up to this point da.UpdateCommand = New SqlCommand da.UpdateCommand.Connection =...
0
by: mike1402 | last post by:
Hi ! I get the error below sometimes when retrieving a big amount of data using Datadapter.Fill(dataset,"table"). But when I send the command Fill again, there is no error. Is it a fault of...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.