Click here to Skip to main content
15,920,503 members
Home / Discussions / Database
   

Database

 
GeneralRe: connecting to the data source Pin
David Salter28-Jan-05 5:39
David Salter28-Jan-05 5:39 
GeneralAdd store procedure to database Pin
El'Cachubrey23-Jan-05 19:43
El'Cachubrey23-Jan-05 19:43 
GeneralRe: Add store procedure to database Pin
Mike Dimmick24-Jan-05 1:23
Mike Dimmick24-Jan-05 1:23 
QuestionADO Connection to an Access 2000 DB with a DB password? Pin
Mike the Red21-Jan-05 4:39
Mike the Red21-Jan-05 4:39 
AnswerRe: ADO Connection to an Access 2000 DB with a DB password? Pin
David Salter22-Jan-05 1:36
David Salter22-Jan-05 1:36 
GeneralMoving data Pin
Member 23350920-Jan-05 23:19
Member 23350920-Jan-05 23:19 
GeneralRe: Moving data Pin
Colin Angus Mackay20-Jan-05 23:49
Colin Angus Mackay20-Jan-05 23:49 
GeneralSearching in a disconnected dataset Pin
hendriks20-Jan-05 4:50
hendriks20-Jan-05 4:50 
Hi,

In a disconnected dataset (dsAdressen) I have to search for a specific record. I want to do this with it's Primary Key (PK).
At designtime I created a connection (cn), dataadapter (daPersonen) and dataset (dsAdressen)
When loading the form I do the following

cn.open
daPersonen.Fill(dsAdressen)
cn.close

When I try to search for a specific record with it's primary key I use code like

dsAdressen.Personen.FindByPersoonsID(1)

When I show the found value in a messagebox it's showing the right record

MsgBox(dsAdressen.Personen.FindByPersoonsID(1).Voornaam)

but my textbox, for which I set the databindings property at designtime in the property pane (txtVoornaam=dsAdressen.Personen.Voornaam), does not show the found value. I thought that by setting this property my textbox should automatically show the found value in the dataset.

I can use code like this to show the value in the textbox, but I should say that is not the way

dim dr ad Datarow
dr = dsAdressen.personen.rows.find(1)
txtVoornaam.text = dr("Voornaam")

I do not understand

Thanks
Hendrik Jan
GeneralRe: Searching in a disconnected dataset Pin
descola22-Jan-05 22:37
descola22-Jan-05 22:37 
GeneralGenerate Insert Statement Pin
Sebastien Lachance20-Jan-05 3:18
Sebastien Lachance20-Jan-05 3:18 
GeneralRe: Generate Insert Statement Pin
Colin Angus Mackay20-Jan-05 22:42
Colin Angus Mackay20-Jan-05 22:42 
GeneralRe: Generate Insert Statement Pin
Sebastien Lachance21-Jan-05 3:45
Sebastien Lachance21-Jan-05 3:45 
GeneralRe: Generate Insert Statement Pin
Colin Angus Mackay21-Jan-05 4:00
Colin Angus Mackay21-Jan-05 4:00 
GeneralAny tutorial/link on developing applications for Windows CE .NET using C# Pin
amittinku19-Jan-05 18:44
amittinku19-Jan-05 18:44 
GeneralQuery Pin
Yulianto.19-Jan-05 16:31
Yulianto.19-Jan-05 16:31 
GeneralRe: Query Pin
Mike Ellison19-Jan-05 17:26
Mike Ellison19-Jan-05 17:26 
GeneralRe: Query Pin
Yulianto.19-Jan-05 18:00
Yulianto.19-Jan-05 18:00 
Generala problem about resultset from a procedure Pin
luobo19-Jan-05 16:01
luobo19-Jan-05 16:01 
GeneralSET NOBROWSETABLE Pin
Axsys19-Jan-05 15:50
Axsys19-Jan-05 15:50 
GeneralRe: SET NOBROWSETABLE Pin
Mike Dimmick20-Jan-05 1:44
Mike Dimmick20-Jan-05 1:44 
GeneralCopy DataSet and change primary key in Relations Pin
triton63019-Jan-05 12:56
triton63019-Jan-05 12:56 
GeneralDateTime no Time transferred Pin
cje19-Jan-05 9:43
cje19-Jan-05 9:43 
GeneralRe: DateTime no Time transferred Pin
Michael Potter20-Jan-05 9:51
Michael Potter20-Jan-05 9:51 
GeneralQuery on 2 DB Pin
Sebastien Lachance19-Jan-05 9:35
Sebastien Lachance19-Jan-05 9:35 
GeneralRe: Query on 2 DB Pin
David Salter19-Jan-05 11:16
David Salter19-Jan-05 11:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.