473,395 Members | 1,969 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,395 software developers and data experts.

Problème data tramsmission from tableadapter to ACCESS database

On a form, I have a datagridview.
This datagridview is constructed on a dataset filled by a tableadapter.
The table adapter do very well what it must do when filling dataset.
Insertions, modifications and deletions functions very well in the dataset.
But impossible to transmit modifications in ACCESS database. Impossible to
WRITE in database.

Here is the code for data transmission from tableadapter to Access database
:

Private Sub ArtistesBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
ArtistesBindingNavigatorSaveItem.Click
Try
Me.Validate()
Me.ArtistesBindingSource.EndEdit()
Me.ArtistesTableAdapter.Update(Me.StarDvdDataDataS et.artistes)
System.Windows.Forms.MessageBox.Show("Success !")
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub

Program says "Success !" but nothing has changed in access database.

May be I am stupid, but I don't understand !

Please help me.
Excuse me for my english. I'm french.
Jan 28 '06 #1
15 2514
Philip,

There are not much people who write "probleme" as you do. However this is an
International newsgroup, so we understand a lot even if it is in not correct
English.

What you probably need is just the endcurrentedit, that pushes the data down
in the datasource.

Probably with your strongly typed dataset if that is the datasource.

BindingContext(StarDvdDataDataSet.artistes).EndCur rentEdit()

I hope this helps,

Cor
"philip" <ph**@philippe.com> schreef in bericht
news:43***********************@news.wanadoo.fr...
On a form, I have a datagridview.
This datagridview is constructed on a dataset filled by a tableadapter.
The table adapter do very well what it must do when filling dataset.
Insertions, modifications and deletions functions very well in the
dataset.
But impossible to transmit modifications in ACCESS database. Impossible to
WRITE in database.

Here is the code for data transmission from tableadapter to Access
database :

Private Sub ArtistesBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
ArtistesBindingNavigatorSaveItem.Click
Try
Me.Validate()
Me.ArtistesBindingSource.EndEdit()
Me.ArtistesTableAdapter.Update(Me.StarDvdDataDataS et.artistes)
System.Windows.Forms.MessageBox.Show("Success !")
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub

Program says "Success !" but nothing has changed in access database.

May be I am stupid, but I don't understand !

Please help me.
Excuse me for my english. I'm french.

Jan 28 '06 #2
Thanks for uyour help

I added the line : Me.BindingContext(EssaiBindingSource).EndCurrentEd it() to
try if "Me.EssaiBindingSource.EndEdit()
" is not enough :

Private Sub EssaiBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
EssaiBindingNavigatorSaveItem.Click
Try
Me.Validate()
Me.EssaiBindingSource.EndEdit()
Me.BindingContext(EssaiBindingSource).EndCurrentEd it()
Me.EssaiTableAdapter.Update(Me.Bd11DataSet.essai)
System.Windows.Forms.MessageBox.Show("Success !")
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub

Nothing happened. Access database has not changed. Modifications are always
good in dataset, but not transmitted to Access Dababase.

And this time, I use a very little database with only one table with only
three fields : 1 autoincrement field, ans 2 text fields.
And there is one row (line) of data in table, writen directly in Access
(because I cannot do it in Visual Studio 2005).
I have created this database specially for resolving my problem, to be sure
that no relation troubled the process.

Curious thing :
One of the two text fields are declared as unique (both in Access database,
and dataset structure in vsstudio).
My table as only one line ans I try to add a new line. If I write a line
with the same value as the first for this unique field, I have the waited
message "Column 'Nom' is constrained to be unique".
If I give 'false' to the unique property of this field in Dataset Designer,
letting unique in Access table, I have the message of Access (in french,
it's a french version of Access) : "Risque de doublons". Access detects the
unique problem. So he TRIES to write in database.

BUT IT'S IMPOSSIBLE TO WRITE A SECOND LINE IN TABLE from Visual Studio 2005,
EVEN IF I GIVE GOOD DATA (not unique) FOR THE SECOND LINE.
The Dataset creates line, takes data, but tableAdapter cannot write it in
database.

Do you see another reason for this impossibility to write in database ?

If someone of Microsoft can examine the problem, he is welcome. Because
today I don't like Microsoft. -)

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: e%****************@tk2msftngp13.phx.gbl...
Philip,

There are not much people who write "probleme" as you do. However this is
an International newsgroup, so we understand a lot even if it is in not
correct English.

What you probably need is just the endcurrentedit, that pushes the data
down in the datasource.

Probably with your strongly typed dataset if that is the datasource.

BindingContext(StarDvdDataDataSet.artistes).EndCur rentEdit()

I hope this helps,

Cor
"philip" <ph**@philippe.com> schreef in bericht
news:43***********************@news.wanadoo.fr...
On a form, I have a datagridview.
This datagridview is constructed on a dataset filled by a tableadapter.
The table adapter do very well what it must do when filling dataset.
Insertions, modifications and deletions functions very well in the
dataset.
But impossible to transmit modifications in ACCESS database. Impossible
to WRITE in database.

Here is the code for data transmission from tableadapter to Access
database :

Private Sub ArtistesBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
ArtistesBindingNavigatorSaveItem.Click
Try
Me.Validate()
Me.ArtistesBindingSource.EndEdit()
Me.ArtistesTableAdapter.Update(Me.StarDvdDataDataS et.artistes)
System.Windows.Forms.MessageBox.Show("Success !")
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub

Program says "Success !" but nothing has changed in access database.

May be I am stupid, but I don't understand !

Please help me.
Excuse me for my english. I'm french.


Jan 28 '06 #3
Philip,

Did you try what I wrote as well?

Cor

"philip" <ph**@philippe.com> schreef in bericht
news:43***********************@news.wanadoo.fr...
Thanks for uyour help

I added the line : Me.BindingContext(EssaiBindingSource).EndCurrentEd it()
to try if "Me.EssaiBindingSource.EndEdit()
" is not enough :

Private Sub EssaiBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
EssaiBindingNavigatorSaveItem.Click
Try
Me.Validate()
Me.EssaiBindingSource.EndEdit()
Me.BindingContext(EssaiBindingSource).EndCurrentEd it()
Me.EssaiTableAdapter.Update(Me.Bd11DataSet.essai)
System.Windows.Forms.MessageBox.Show("Success !")
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub

Nothing happened. Access database has not changed. Modifications are
always good in dataset, but not transmitted to Access Dababase.

And this time, I use a very little database with only one table with only
three fields : 1 autoincrement field, ans 2 text fields.
And there is one row (line) of data in table, writen directly in Access
(because I cannot do it in Visual Studio 2005).
I have created this database specially for resolving my problem, to be
sure that no relation troubled the process.

Curious thing :
One of the two text fields are declared as unique (both in Access
database, and dataset structure in vsstudio).
My table as only one line ans I try to add a new line. If I write a line
with the same value as the first for this unique field, I have the waited
message "Column 'Nom' is constrained to be unique".
If I give 'false' to the unique property of this field in Dataset
Designer, letting unique in Access table, I have the message of Access (in
french, it's a french version of Access) : "Risque de doublons". Access
detects the unique problem. So he TRIES to write in database.

BUT IT'S IMPOSSIBLE TO WRITE A SECOND LINE IN TABLE from Visual Studio
2005, EVEN IF I GIVE GOOD DATA (not unique) FOR THE SECOND LINE.
The Dataset creates line, takes data, but tableAdapter cannot write it in
database.

Do you see another reason for this impossibility to write in database ?

If someone of Microsoft can examine the problem, he is welcome. Because
today I don't like Microsoft. -)

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: e%****************@tk2msftngp13.phx.gbl...
Philip,

There are not much people who write "probleme" as you do. However this is
an International newsgroup, so we understand a lot even if it is in not
correct English.

What you probably need is just the endcurrentedit, that pushes the data
down in the datasource.

Probably with your strongly typed dataset if that is the datasource.

BindingContext(StarDvdDataDataSet.artistes).EndCur rentEdit()

I hope this helps,

Cor
"philip" <ph**@philippe.com> schreef in bericht
news:43***********************@news.wanadoo.fr...
On a form, I have a datagridview.
This datagridview is constructed on a dataset filled by a tableadapter.
The table adapter do very well what it must do when filling dataset.
Insertions, modifications and deletions functions very well in the
dataset.
But impossible to transmit modifications in ACCESS database. Impossible
to WRITE in database.

Here is the code for data transmission from tableadapter to Access
database :

Private Sub ArtistesBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
ArtistesBindingNavigatorSaveItem.Click
Try
Me.Validate()
Me.ArtistesBindingSource.EndEdit()

Me.ArtistesTableAdapter.Update(Me.StarDvdDataDataS et.artistes)
System.Windows.Forms.MessageBox.Show("Success !")
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub

Program says "Success !" but nothing has changed in access database.

May be I am stupid, but I don't understand !

Please help me.
Excuse me for my english. I'm french.



Jan 29 '06 #4
Yes I tried what you write, adding the line you asked me to add when I add
"Me.BindingContext essaiBindingSource).EndCurrentEdit()"
No ?
With this line, I push the data down in the datasource.
But data doesn't modify Access Database.
I'm always to the same point.
Is this problem appearing for the first time, or is it a common problem ?
Thanks for your response.

Philip
"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: OA*************@TK2MSFTNGP09.phx.gbl...
Philip,

Did you try what I wrote as well?

Cor

"philip" <ph**@philippe.com> schreef in bericht
news:43***********************@news.wanadoo.fr...
Thanks for uyour help

I added the line : Me.BindingContext(EssaiBindingSource).EndCurrentEd it()
to try if "Me.EssaiBindingSource.EndEdit()
" is not enough :

Private Sub EssaiBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
EssaiBindingNavigatorSaveItem.Click
Try
Me.Validate()
Me.EssaiBindingSource.EndEdit()
Me.BindingContext(EssaiBindingSource).EndCurrentEd it()
Me.EssaiTableAdapter.Update(Me.Bd11DataSet.essai)
System.Windows.Forms.MessageBox.Show("Success !")
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub

Nothing happened. Access database has not changed. Modifications are
always good in dataset, but not transmitted to Access Dababase.

And this time, I use a very little database with only one table with only
three fields : 1 autoincrement field, ans 2 text fields.
And there is one row (line) of data in table, writen directly in Access
(because I cannot do it in Visual Studio 2005).
I have created this database specially for resolving my problem, to be
sure that no relation troubled the process.

Curious thing :
One of the two text fields are declared as unique (both in Access
database, and dataset structure in vsstudio).
My table as only one line ans I try to add a new line. If I write a line
with the same value as the first for this unique field, I have the waited
message "Column 'Nom' is constrained to be unique".
If I give 'false' to the unique property of this field in Dataset
Designer, letting unique in Access table, I have the message of Access
(in french, it's a french version of Access) : "Risque de doublons".
Access detects the unique problem. So he TRIES to write in database.

BUT IT'S IMPOSSIBLE TO WRITE A SECOND LINE IN TABLE from Visual Studio
2005, EVEN IF I GIVE GOOD DATA (not unique) FOR THE SECOND LINE.
The Dataset creates line, takes data, but tableAdapter cannot write it in
database.

Do you see another reason for this impossibility to write in database ?

If someone of Microsoft can examine the problem, he is welcome. Because
today I don't like Microsoft. -)

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message
de news: e%****************@tk2msftngp13.phx.gbl...
Philip,

There are not much people who write "probleme" as you do. However this
is an International newsgroup, so we understand a lot even if it is in
not correct English.

What you probably need is just the endcurrentedit, that pushes the data
down in the datasource.

Probably with your strongly typed dataset if that is the datasource.

BindingContext(StarDvdDataDataSet.artistes).EndCur rentEdit()

I hope this helps,

Cor
"philip" <ph**@philippe.com> schreef in bericht
news:43***********************@news.wanadoo.fr...
On a form, I have a datagridview.
This datagridview is constructed on a dataset filled by a tableadapter.
The table adapter do very well what it must do when filling dataset.
Insertions, modifications and deletions functions very well in the
dataset.
But impossible to transmit modifications in ACCESS database. Impossible
to WRITE in database.

Here is the code for data transmission from tableadapter to Access
database :

Private Sub ArtistesBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
ArtistesBindingNavigatorSaveItem.Click
Try
Me.Validate()
Me.ArtistesBindingSource.EndEdit()

Me.ArtistesTableAdapter.Update(Me.StarDvdDataDataS et.artistes)
System.Windows.Forms.MessageBox.Show("Success !")
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub

Program says "Success !" but nothing has changed in access database.

May be I am stupid, but I don't understand !

Please help me.
Excuse me for my english. I'm french.



Jan 29 '06 #5
I seen on Google what MVP means.
Congratulations. I did not know
I work with Access for many years.
I believed that I understood the new concept of dataset and tableadapter,
but my problem reveals that I did not understand anything.
I think dotnet and specially vsstudio 2005 is a very good thing, but I need
to write in a database really a first time at least to continue seriously to
work with this new technology.

Philip

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: OA*************@TK2MSFTNGP09.phx.gbl...
Philip,

Did you try what I wrote as well?

Cor

"philip" <ph**@philippe.com> schreef in bericht
news:43***********************@news.wanadoo.fr...
Thanks for uyour help

I added the line : Me.BindingContext(EssaiBindingSource).EndCurrentEd it()
to try if "Me.EssaiBindingSource.EndEdit()
" is not enough :

Private Sub EssaiBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
EssaiBindingNavigatorSaveItem.Click
Try
Me.Validate()
Me.EssaiBindingSource.EndEdit()
Me.BindingContext(EssaiBindingSource).EndCurrentEd it()
Me.EssaiTableAdapter.Update(Me.Bd11DataSet.essai)
System.Windows.Forms.MessageBox.Show("Success !")
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub

Nothing happened. Access database has not changed. Modifications are
always good in dataset, but not transmitted to Access Dababase.

And this time, I use a very little database with only one table with only
three fields : 1 autoincrement field, ans 2 text fields.
And there is one row (line) of data in table, writen directly in Access
(because I cannot do it in Visual Studio 2005).
I have created this database specially for resolving my problem, to be
sure that no relation troubled the process.

Curious thing :
One of the two text fields are declared as unique (both in Access
database, and dataset structure in vsstudio).
My table as only one line ans I try to add a new line. If I write a line
with the same value as the first for this unique field, I have the waited
message "Column 'Nom' is constrained to be unique".
If I give 'false' to the unique property of this field in Dataset
Designer, letting unique in Access table, I have the message of Access
(in french, it's a french version of Access) : "Risque de doublons".
Access detects the unique problem. So he TRIES to write in database.

BUT IT'S IMPOSSIBLE TO WRITE A SECOND LINE IN TABLE from Visual Studio
2005, EVEN IF I GIVE GOOD DATA (not unique) FOR THE SECOND LINE.
The Dataset creates line, takes data, but tableAdapter cannot write it in
database.

Do you see another reason for this impossibility to write in database ?

If someone of Microsoft can examine the problem, he is welcome. Because
today I don't like Microsoft. -)

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message
de news: e%****************@tk2msftngp13.phx.gbl...
Philip,

There are not much people who write "probleme" as you do. However this
is an International newsgroup, so we understand a lot even if it is in
not correct English.

What you probably need is just the endcurrentedit, that pushes the data
down in the datasource.

Probably with your strongly typed dataset if that is the datasource.

BindingContext(StarDvdDataDataSet.artistes).EndCur rentEdit()

I hope this helps,

Cor
"philip" <ph**@philippe.com> schreef in bericht
news:43***********************@news.wanadoo.fr...
On a form, I have a datagridview.
This datagridview is constructed on a dataset filled by a tableadapter.
The table adapter do very well what it must do when filling dataset.
Insertions, modifications and deletions functions very well in the
dataset.
But impossible to transmit modifications in ACCESS database. Impossible
to WRITE in database.

Here is the code for data transmission from tableadapter to Access
database :

Private Sub ArtistesBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
ArtistesBindingNavigatorSaveItem.Click
Try
Me.Validate()
Me.ArtistesBindingSource.EndEdit()

Me.ArtistesTableAdapter.Update(Me.StarDvdDataDataS et.artistes)
System.Windows.Forms.MessageBox.Show("Success !")
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub

Program says "Success !" but nothing has changed in access database.

May be I am stupid, but I don't understand !

Please help me.
Excuse me for my english. I'm french.



Jan 29 '06 #6
Philip,

I wrote this one.
Yes I tried what you write, adding the line you asked me to add when I add
"Me.BindingContext essaiBindingSource).EndCurrentEdit()"


BindingContext(StarDvdDataDataSet.artistes).EndCur rentEdit()

I am curious what it says when it does not accept that one?

Cor
Jan 29 '06 #7
He accepts this line : "Me.BindingContext
essaiBindingSource).EndCurrentEdit()"
But nothing happens.
Message box gives me the message "Success", but nothing is written in Access
Database.
No error message. Simply nothing happens in database.

Philip

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: OL**************@TK2MSFTNGP11.phx.gbl...
Philip,

I wrote this one.
Yes I tried what you write, adding the line you asked me to add when I
add "Me.BindingContext essaiBindingSource).EndCurrentEdit()"


BindingContext(StarDvdDataDataSet.artistes).EndCur rentEdit()

I am curious what it says when it does not accept that one?

Cor

Jan 29 '06 #8
Philip,

You did not try it as I wrote.

The bindingContext is a collection of bindings. If you tell that one of
those has an endCurrentEdit, than he will accept it. However it does than
nothing at your datatable that you want to update as that is not the same.

What is the DataSource property of your datagridview, than I can probably
write the code exact

Cor
Jan 29 '06 #9
The datasource property of the datagridview is 'EssaiBindingSource'

When I drag the table 'Essai' on a form, vsStudio 2005 create a
datagridview1
He creates a bd11Dataset, an EssaibindingSource, an EssaiTableAdapter, and
an EssaiBindingNavigator.
Precision for you to give context.
For information, the connectionstring of database is
'Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\vb2005\WindowsApplication1\WindowsApplic ation1\bd11.mdb'

Thanks for your attention.

Philip

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: eR**************@TK2MSFTNGP11.phx.gbl...
Philip,

You did not try it as I wrote.

The bindingContext is a collection of bindings. If you tell that one of
those has an endCurrentEdit, than he will accept it. However it does than
nothing at your datatable that you want to update as that is not the same.

What is the DataSource property of your datagridview, than I can probably
write the code exact

Cor

Jan 29 '06 #10
Philip,

Can you explain a little bit more how you do this, I thought you was
everything doing in code.
When I drag the table 'Essai' on a form, vsStudio 2005 create a
datagridview1
He creates a bd11Dataset, an EssaibindingSource, an EssaiTableAdapter, and
an EssaiBindingNavigator.


You drag from ? .............etc.

Cor
Jan 29 '06 #11
- Menu 'File/New project'
- Menu 'Data/Show Data Sourcess'
- Hyperlink 'Add New Data Source'
- I make new connection to Access Dabase following 'Data source
configuration wizard'
- To the end of this process, I take table 'essai' in panel 'Data Sources'
and I drag it and drop on form 'form1'

- VStudio 2005 creates a 'BD11Dataset' based on my Access Database structure
(here a table with an autoincrement field, and two text fields). Property of
BD11Dataset is 'IncludeSchema'

- Then creates a 'EssaiBindingSource' :
DataMember = 'essai'
DataSource = 'Bd11DataSet'

- Then creates a 'EssaiTableAdapter', and a 'EssaiBindingNavigator' whose
BindingSource is 'EssaiBindingSource'

In code of 'EssaiBindingNavigator' I have the following code written not by
me, but by VStudio :

----------------------------------------
Public Class Form1

Private Sub EssaiBindingNavigatorSaveItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
EssaiBindingNavigatorSaveItem.Click
Me.Validate()
Me.EssaiBindingSource.EndEdit()
Me.EssaiTableAdapter.Update(Me.Bd11DataSet.essai)

End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'Bd11DataSet.essai'
table. You can move, or remove it, as needed.
Me.EssaiTableAdapter.Fill(Me.Bd11DataSet.essai)

End Sub
End Class
-----------------------------------------------------
I added a 'Try-End Try' verification to the 'EssaiBindingNavigatorSaveItem'
subroutine.

The method 'fill' functions perfectly.
The method 'Update' does'nt function.

BUT I created a button on the form with this code, which functions perfectly
:
-------------------------
Using connection As New
System.Data.OleDb.OleDbConnection("Provider=Micros oft.Jet.OLEDB.4.0;Data
Source=C:\vb2005\WindowsApplication1\WindowsApplic ation1\bd11.mdb")

Dim Commnd As New System.Data.OleDb.OleDbCommand("INSERT INTO essai
(nom,prénom) VALUES ('ae','ea')", connection)
Commnd.ExecuteNonQuery()
End Using
------------------------
A line is added to my Access database.
So the problem is not a system problem between Access Database and VStudio.

A lot of thanks to give me your time.
When you think I Exaggerate, say it.
Jan 29 '06 #12
Philip,

I have tried exactly the same as you (with employees from northwind in a way
I can do it in code), and it does as well nothing. I never used so far the
designer.

I will see if I can look tomorrow what it does with SQL server to see if
this is an oledb bug.

Cor
Jan 29 '06 #13
Thanks. Very sincerely.
I wait some news when you can.
It's so important for me!

Philip
"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: un***************@TK2MSFTNGP12.phx.gbl...
Philip,

I have tried exactly the same as you (with employees from northwind in a
way I can do it in code), and it does as well nothing. I never used so far
the designer.

I will see if I can look tomorrow what it does with SQL server to see if
this is an oledb bug.

Cor

Jan 29 '06 #14
Philip,

I found it, you have probably while using the wizard told to copy the
database to your project.

If I did not do that, than it was working fine for me.

I hope this helps,

Cor
Jan 30 '06 #15
You are a genious ! That works.
My last question :
Why the fact to displace database create this problem ?
The response to this question will do than I shall can avoid a serious error
later.
This is my last question.

But now, I can work on my project.

A great lot of thanks.

Philip
"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: e7*************@TK2MSFTNGP15.phx.gbl...
Philip,

I found it, you have probably while using the wizard told to copy the
database to your project.

If I did not do that, than it was working fine for me.

I hope this helps,

Cor

Jan 31 '06 #16

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

Similar topics

9
by: jab | last post by:
Je veux lier (join) une table qui se trouve dans une database avec une qui se trouve dans une autre database. Les 2 databases sont sur le même serveur en l'occurence DB2/NT 7.2.9. J'ai créé un...
1
by: bill.jenner | last post by:
Since upgrading from .NET 2003 to .NET 2005, I've had a few problems adjusting. One, I seem unable to get around is not having the DataAdaptor available to me from the tool box. It appears I only...
1
by: dbuchanan | last post by:
Hello, A section in Data Sources window is mystifying to me. In the case of my code the Data Sources window shows my references to the data access layer. First here is what I see in my Data...
19
by: Larry Lard | last post by:
In the old days (VB3 era), there was a thing called the Data Control, and you could use it to databind controls on forms to datasources, and so (as the marketing speak goes), 'create database...
3
by: phonl | last post by:
I am a vb6 ADO developer looking at vb.net 2005 and ADO2.net. I used the vb.net 2005 data wizard to bind some controls to a database. Now I want to run a select query and have the bound controls...
1
by: Demetri | last post by:
I have a question / concern regarding the new suggested way of creating a data access layer in an n-tier application. Typically, a web application specifically, using the SOA (Service Oriented...
1
by: eduardoben | last post by:
I use a tableadapter with the sql string = select * fom table where field=? I load the desired record in a form and populate textboxes but after i modify them when i use tableadapter.update it...
9
by: Anil Gupte | last post by:
After reading a tutorial and fiddling, I finally got this to work. I can now put two tables created with a DataTable class into a DataRelation. Phew! And it works! Dim tblSliceInfo As New...
2
by: Patrick Pirtle | last post by:
Having programmed for a number of years with VB6 (but very little database stuff), I'm trying to learn Visual Studio, but am just about at the end of my rope as far as wrapping my mind around...
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.