Click here to Skip to main content
15,913,941 members
Home / Discussions / Database
   

Database

 
AnswerRe: Where to keep my connection? Pin
Colin Angus Mackay18-Jan-05 13:09
Colin Angus Mackay18-Jan-05 13:09 
AnswerRe: Where to keep my connection? Pin
Rob Graham18-Jan-05 15:41
Rob Graham18-Jan-05 15:41 
GeneralUsing NULLs in database fields Pin
Luis Alonso Ramos18-Jan-05 12:19
Luis Alonso Ramos18-Jan-05 12:19 
GeneralRe: Using NULLs in database fields Pin
Colin Angus Mackay18-Jan-05 12:49
Colin Angus Mackay18-Jan-05 12:49 
GeneralRe: Using NULLs in database fields Pin
Luis Alonso Ramos18-Jan-05 14:15
Luis Alonso Ramos18-Jan-05 14:15 
QuestionWhat is wrong with this SQL code Pin
Asabere18-Jan-05 9:02
Asabere18-Jan-05 9:02 
AnswerRe: What is wrong with this SQL code Pin
Colin Angus Mackay18-Jan-05 13:02
Colin Angus Mackay18-Jan-05 13:02 
GeneralNavigate in dataset Pin
hendriks17-Jan-05 4:57
hendriks17-Jan-05 4:57 
Hi,

I'm new to VB.Net so I think I'm doing something totally wrong.
I have a form with several textboxes. They are bound to a dataset at designtime by setting the properties in de propertypanel.

txtVoornaam.Text=dsAdressen.Personen.Voornaam

When I search for a specific record in a table of the dataset using its PK, I find the record, but my textbox doesn't show the found value. I use this code

Dim dr as DataRow
dr = dsAdressen.Personen.Rows.Find(PK)

or

dsAdressen.Personen.FindByPersoonsID(PK)

I know the record is found, because with this code my textbox shows the right information

txtVoornaam.Text = dr("Voornaam")

Why do I have to use code like -- txtVoornaam.Text = dr("Voornaam") -- to show the found value in the textbox. The textbox databinding properties are set, so I expected that the right value should appear automatically.

Where am I going wrong??

Thanks,
Confused | :confused: Hendrik Jan
GeneralMS-SQL to Oracle Pin
spsharma16-Jan-05 22:10
spsharma16-Jan-05 22:10 
GeneralRe: MS-SQL to Oracle Pin
Member 80036019-Jan-05 1:27
Member 80036019-Jan-05 1:27 
GeneralRe: MS-SQL to Oracle Pin
basementman20-Jan-05 4:44
basementman20-Jan-05 4:44 
GeneralOle db connecting problem Pin
lisoft16-Jan-05 21:50
lisoft16-Jan-05 21:50 
GeneralRe: Ole db connecting problem Pin
Rob Graham18-Jan-05 6:56
Rob Graham18-Jan-05 6:56 
GeneralADO Execute stored procedure Pin
willtein16-Jan-05 21:11
willtein16-Jan-05 21:11 
GeneralADO: Fields::GetItem() with number Pin
wilsonian16-Jan-05 9:22
wilsonian16-Jan-05 9:22 
GeneralRe: ADO: Fields::GetItem() with number Pin
Edbert P17-Jan-05 12:41
Edbert P17-Jan-05 12:41 
GeneralRe: ADO: Fields::GetItem() with number Pin
wilsonian17-Jan-05 13:17
wilsonian17-Jan-05 13:17 
GeneralRe: ADO: Fields::GetItem() with number Pin
Rob Graham17-Jan-05 16:15
Rob Graham17-Jan-05 16:15 
GeneralRe: ADO: Fields::GetItem() with number Pin
wilsonian18-Jan-05 12:09
wilsonian18-Jan-05 12:09 
QuestionSplitting names in a SQLS 2K query ? Pin
Jerry Evans16-Jan-05 4:40
Jerry Evans16-Jan-05 4:40 
AnswerRe: Splitting names in a SQLS 2K query ? Pin
Member 80036019-Jan-05 1:33
Member 80036019-Jan-05 1:33 
QuestionSchema documentation tool? Pin
Chris Maunder15-Jan-05 13:32
cofounderChris Maunder15-Jan-05 13:32 
AnswerRe: Schema documentation tool? Pin
Colin Angus Mackay15-Jan-05 18:56
Colin Angus Mackay15-Jan-05 18:56 
GeneralRe: Schema documentation tool? Pin
Chris Maunder16-Jan-05 1:50
cofounderChris Maunder16-Jan-05 1:50 
GeneralRe: Schema documentation tool? Pin
Colin Angus Mackay16-Jan-05 2:06
Colin Angus Mackay16-Jan-05 2:06 

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.