Click here to Skip to main content
15,902,112 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Accessing ListBox from multiple threads Pin
Giorgi Dalakishvili8-Dec-08 6:28
mentorGiorgi Dalakishvili8-Dec-08 6:28 
AnswerRe: Accessing ListBox from multiple threads Pin
Fadi Yoosuf13-Dec-08 3:03
Fadi Yoosuf13-Dec-08 3:03 
QuestionPanel OnPaint Help [modified] Pin
Zippy Pack7-Dec-08 8:45
Zippy Pack7-Dec-08 8:45 
AnswerRe: Panel OnPaint Help Pin
Ben Fair10-Dec-08 9:54
Ben Fair10-Dec-08 9:54 
QuestionMacros in XP Pin
awiltz5-Dec-08 11:07
awiltz5-Dec-08 11:07 
AnswerRe: Macros in XP Pin
Dave Kreskowiak5-Dec-08 11:53
mveDave Kreskowiak5-Dec-08 11:53 
Questiondata reader Pin
gogo6114-Dec-08 12:57
gogo6114-Dec-08 12:57 
AnswerRe: data reader Pin
Roger Wright4-Dec-08 15:29
professionalRoger Wright4-Dec-08 15:29 
Without more information it's hard to tell, but I suspect that the table Student has records containing more than one value - ie StudentID, StudentLastName, StudentFirstName, etc. You are trying to shove all values of a record into a single cell of the DataGridView. Also, since you are using a loop to step through all the values in the DataReader, I assume you expect more than one student to be returned. Why, then, are you not providing an index to step through the rows and cells of the DataGridView? Instead, you are repeatedly assigning each record to the same row and cell.

"A Journey of a Thousand Rest Stops Begins with a Single Movement"

AnswerRe: data reader Pin
Wendelius5-Dec-08 9:32
mentorWendelius5-Dec-08 9:32 
QuestionDynamic Filling of Autocomplete TextBox Pin
SelvaSR3-Dec-08 0:44
SelvaSR3-Dec-08 0:44 
AnswerRe: Dynamic Filling of Autocomplete TextBox Pin
Paul Conrad3-Dec-08 5:02
professionalPaul Conrad3-Dec-08 5:02 
GeneralRe: Dynamic Filling of Autocomplete TextBox Pin
Wendelius4-Dec-08 7:43
mentorWendelius4-Dec-08 7:43 
GeneralRe: Dynamic Filling of Autocomplete TextBox Pin
Paul Conrad4-Dec-08 9:13
professionalPaul Conrad4-Dec-08 9:13 
GeneralRe: Dynamic Filling of Autocomplete TextBox Pin
Wendelius4-Dec-08 9:37
mentorWendelius4-Dec-08 9:37 
GeneralRe: Dynamic Filling of Autocomplete TextBox Pin
Paul Conrad4-Dec-08 9:39
professionalPaul Conrad4-Dec-08 9:39 
General[Message Deleted] [modified] Pin
SelvaSR4-Dec-08 18:06
SelvaSR4-Dec-08 18:06 
GeneralRe: Dynamic Filling of Autocomplete TextBox Pin
Ashfield5-Dec-08 1:36
Ashfield5-Dec-08 1:36 
QuestionAbout Copy protection Pin
Prashant B. Lavate1-Dec-08 22:58
Prashant B. Lavate1-Dec-08 22:58 
AnswerRe: About Copy protection Pin
Ashfield2-Dec-08 1:48
Ashfield2-Dec-08 1:48 
GeneralRe: About Copy protection Pin
Wendelius5-Dec-08 9:38
mentorWendelius5-Dec-08 9:38 
GeneralRe: About Copy protection Pin
Ashfield7-Dec-08 21:31
Ashfield7-Dec-08 21:31 
GeneralRe: About Copy protection Pin
Wendelius9-Dec-08 9:41
mentorWendelius9-Dec-08 9:41 
AnswerRe: About Copy protection Pin
Paul Conrad2-Dec-08 5:05
professionalPaul Conrad2-Dec-08 5:05 
QuestionI'm Confused Again... Pin
Roger Wright1-Dec-08 18:43
professionalRoger Wright1-Dec-08 18:43 
GeneralRe: I'm Confused Again... Pin
led mike2-Dec-08 4:49
led mike2-Dec-08 4:49 

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.