Click here to Skip to main content
15,912,475 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: i ask you too much Pin
Mr kilany25-Apr-06 21:09
Mr kilany25-Apr-06 21:09 
GeneralRe: i ask you too much Pin
Dave Kreskowiak26-Apr-06 1:11
mveDave Kreskowiak26-Apr-06 1:11 
AnswerRe: i ask you too much Pin
Christian Graus25-Apr-06 10:01
protectorChristian Graus25-Apr-06 10:01 
GeneralRe: i ask you too much Pin
Dave Kreskowiak25-Apr-06 12:29
mveDave Kreskowiak25-Apr-06 12:29 
GeneralRe: i ask you too much Pin
Mr kilany25-Apr-06 21:14
Mr kilany25-Apr-06 21:14 
GeneralRe: i ask you too much Pin
Mr kilany25-Apr-06 21:13
Mr kilany25-Apr-06 21:13 
GeneralRe: i ask you too much Pin
Christian Graus25-Apr-06 23:45
protectorChristian Graus25-Apr-06 23:45 
Questionset selectedvalue of combobox that is bound to dataset Pin
G7236025-Apr-06 3:32
G7236025-Apr-06 3:32 
Hi,

In my application I have a form with some comboboxes on it. These comboboxes are all bound to different datasets. When the form shows, I can select a different index in the combobox, the text is adjusted as expected. To here, I encounter no problems.

In some cases, when the form is loaded, I want to select a value in the combobox that I obtained by accessing my database.

Example of my code:
cboIncidentType.SelectedValue = curIncident.IncidentErrorType

Now, for some reason, the selectedValue is not set to what I define in my code, but to the first index in the combobox.

Can someone tell me what the problem is?

Thanks!

G72360
AnswerRe: set selectedvalue of combobox that is bound to dataset Pin
Dave Kreskowiak25-Apr-06 9:53
mveDave Kreskowiak25-Apr-06 9:53 
GeneralRe: set selectedvalue of combobox that is bound to dataset Pin
G7236025-Apr-06 11:25
G7236025-Apr-06 11:25 
Questionsqlexpress 2005 deployment problem Pin
User 91483325-Apr-06 3:17
User 91483325-Apr-06 3:17 
AnswerRe: sqlexpress 2005 deployment problem Pin
Dave Kreskowiak25-Apr-06 9:51
mveDave Kreskowiak25-Apr-06 9:51 
GeneralRe: sqlexpress 2005 deployment problem Pin
User 91483325-Apr-06 21:02
User 91483325-Apr-06 21:02 
GeneralRe: sqlexpress 2005 deployment problem Pin
Dave Kreskowiak26-Apr-06 1:25
mveDave Kreskowiak26-Apr-06 1:25 
GeneralRe: sqlexpress 2005 deployment problem Pin
User 91483326-Apr-06 1:56
User 91483326-Apr-06 1:56 
QuestionVB.Net Generated Code Pin
MikeUPMC25-Apr-06 2:59
MikeUPMC25-Apr-06 2:59 
QuestionRegarding Deploying a web application Pin
Vijaya Krishnamoorthy25-Apr-06 2:11
Vijaya Krishnamoorthy25-Apr-06 2:11 
QuestionCausesValidation and ControlBox Pin
paas25-Apr-06 1:54
paas25-Apr-06 1:54 
AnswerRe: CausesValidation and ControlBox Pin
paas25-Apr-06 4:09
paas25-Apr-06 4:09 
QuestionWhere is the syntax error in this statement? Pin
JUNEYT25-Apr-06 1:45
JUNEYT25-Apr-06 1:45 
AnswerRe: Where is the syntax error in this statement? Pin
J4amieC25-Apr-06 1:58
J4amieC25-Apr-06 1:58 
AnswerRe: Where is the syntax error in this statement? Pin
Steve Pullan25-Apr-06 2:04
Steve Pullan25-Apr-06 2:04 
AnswerRe: Where is the syntax error in this statement? Pin
Dave Kreskowiak25-Apr-06 9:47
mveDave Kreskowiak25-Apr-06 9:47 
QuestionDVD Format Pin
MatthysDT25-Apr-06 1:37
MatthysDT25-Apr-06 1:37 
AnswerRe: DVD Format Pin
Dave Kreskowiak25-Apr-06 9:44
mveDave Kreskowiak25-Apr-06 9:44 

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.