Click here to Skip to main content
15,922,166 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Image Resize and Crop, am I on the right track? Pin
Dave Kreskowiak13-Sep-07 4:10
mveDave Kreskowiak13-Sep-07 4:10 
QuestionProblems binding datarelations to a listbox Pin
Mr Oizo12-Sep-07 9:31
Mr Oizo12-Sep-07 9:31 
AnswerRe: Problems binding datarelations to a listbox Pin
Dave Kreskowiak13-Sep-07 4:01
mveDave Kreskowiak13-Sep-07 4:01 
GeneralRe: Problems binding datarelations to a listbox Pin
Mr Oizo13-Sep-07 11:26
Mr Oizo13-Sep-07 11:26 
GeneralRe: Problems binding datarelations to a listbox Pin
Dave Kreskowiak13-Sep-07 12:38
mveDave Kreskowiak13-Sep-07 12:38 
GeneralRe: Problems binding datarelations to a listbox Pin
Mr Oizo15-Sep-07 0:36
Mr Oizo15-Sep-07 0:36 
GeneralRe: Problems binding datarelations to a listbox Pin
Dave Kreskowiak15-Sep-07 2:11
mveDave Kreskowiak15-Sep-07 2:11 
GeneralRe: Problems binding datarelations to a listbox Pin
Mr Oizo16-Sep-07 2:13
Mr Oizo16-Sep-07 2:13 
I changed it from selectedItem to selectedValue and it still doesn't work. Still displays "system.data.dataviewrow"

in this code i get an error message saying "Cannot set the SelectedValue in a ListControl with an empty ValueMember."

If (dgSongProperties.Rows(index).Cells("Genre").Value) Is DBNull.Value Or (dgSongProperties.Rows(index).Cells("Genre").Value) Is Nothing Then
cmbGenre.SelectedValue = ""
Else


"The error happens for the code below. "
cmbGenre.SelectedValue = CStr(dgSongProperties.Rows(index).Cells("Genre").Value)
End If




I have tried puttin genres in the song table in MS ACCESS so there is a value in dgSongproperties.Rows(index).cells("Genre").value but that still gives the error message.I want the value in the datagridview selected row genre to be the selected one in the genre combo box??? Confused | :confused:


Mr Oizo
GeneralRe: Problems binding datarelations to a listbox Pin
Dave Kreskowiak16-Sep-07 4:46
mveDave Kreskowiak16-Sep-07 4:46 
GeneralRe: Problems binding datarelations to a listbox Pin
Mr Oizo16-Sep-07 5:25
Mr Oizo16-Sep-07 5:25 
GeneralRe: Problems binding datarelations to a listbox Pin
Dave Kreskowiak16-Sep-07 5:52
mveDave Kreskowiak16-Sep-07 5:52 
GeneralRe: Problems binding datarelations to a listbox Pin
Mr Oizo16-Sep-07 7:52
Mr Oizo16-Sep-07 7:52 
Questionsolution config file ? Pin
ttilque12-Sep-07 8:38
ttilque12-Sep-07 8:38 
AnswerRe: solution config file ? Pin
Naji El Kotob12-Sep-07 9:57
Naji El Kotob12-Sep-07 9:57 
GeneralRe: solution config file ? Pin
ttilque13-Sep-07 1:10
ttilque13-Sep-07 1:10 
GeneralRe: solution config file ? Pin
Dave Kreskowiak13-Sep-07 3:54
mveDave Kreskowiak13-Sep-07 3:54 
QuestionAutomatic Namespaces Pin
Mark0612-Sep-07 6:19
Mark0612-Sep-07 6:19 
AnswerRe: Automatic Namespaces Pin
Dave Kreskowiak13-Sep-07 3:52
mveDave Kreskowiak13-Sep-07 3:52 
QuestionCan you explain this strange logic?.... Pin
Steven J Jowett12-Sep-07 5:10
Steven J Jowett12-Sep-07 5:10 
AnswerRe: Can you explain this strange logic?.... Pin
penguin500012-Sep-07 5:22
penguin500012-Sep-07 5:22 
GeneralRe: Can you explain this strange logic?.... Pin
Steven J Jowett12-Sep-07 5:33
Steven J Jowett12-Sep-07 5:33 
GeneralRe: Can you explain this strange logic?.... Pin
penguin500012-Sep-07 5:39
penguin500012-Sep-07 5:39 
GeneralRe: Can you explain this strange logic?.... Pin
Steven J Jowett12-Sep-07 5:46
Steven J Jowett12-Sep-07 5:46 
GeneralRe: Can you explain this strange logic?.... Pin
penguin500012-Sep-07 5:52
penguin500012-Sep-07 5:52 
QuestionError message Pin
Faruzzy12-Sep-07 4:53
Faruzzy12-Sep-07 4:53 

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.