Click here to Skip to main content
15,915,501 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Sample code Pin
toxcct19-Dec-05 2:20
toxcct19-Dec-05 2:20 
GeneralRe: Sample code Pin
Dave Kreskowiak19-Dec-05 7:22
mveDave Kreskowiak19-Dec-05 7:22 
GeneralRe: Sample code Pin
jonathan1520-Dec-05 2:37
jonathan1520-Dec-05 2:37 
QuestionParametrized query on related tables - VB.NET2003 Pin
liquid_18-Dec-05 9:15
liquid_18-Dec-05 9:15 
QuestionProblem with the coding..(VB6) Pin
mellvincent18-Dec-05 5:16
mellvincent18-Dec-05 5:16 
AnswerRe: Problem with the coding..(VB6) Pin
KaptinKrunch19-Dec-05 2:36
KaptinKrunch19-Dec-05 2:36 
GeneralRe: Problem with the coding..(VB6) Pin
S Douglas19-Dec-05 22:17
professionalS Douglas19-Dec-05 22:17 
AnswerRe: Problem with the coding..(VB6) Pin
S Douglas19-Dec-05 22:15
professionalS Douglas19-Dec-05 22:15 
Well if I had to guess, then I would probably say your WHERE Clause is filtering out all of the results, so your getting a recordset with no records.

Also I just wanted to point out that while you close your data connection you forgot to close the recordset before setting it to nothing.


mellvincent wrote:
DataGrid1.Text = rs(0).Value


Doesn't this set the data grids header text to that value (I don’t really remember)? Have you tried setting the text to a col - row first.

Or Set DataGrid1.DataSource = rs should also get the same results.

Hope this helps...



ZeePain! wrote:
This seems like one of those programs that started small, grew incrementally, building internal pressure, and finally barfed all over its source code sneakers. Or something.

thedailywtf.com[^]
QuestionGetting started (beginner) Pin
mellvincent18-Dec-05 3:46
mellvincent18-Dec-05 3:46 
AnswerRe: Getting started (beginner) Pin
Colin Angus Mackay18-Dec-05 5:19
Colin Angus Mackay18-Dec-05 5:19 
Questionmemory allocation Pin
_tasleem17-Dec-05 22:51
_tasleem17-Dec-05 22:51 
AnswerRe: memory allocation Pin
Colin Angus Mackay18-Dec-05 5:27
Colin Angus Mackay18-Dec-05 5:27 
QuestionOpeing a Form based on a Query Pin
R. A. Abbasi17-Dec-05 19:28
R. A. Abbasi17-Dec-05 19:28 
AnswerRe: Opeing a Form based on a Query Pin
Dave Kreskowiak18-Dec-05 11:52
mveDave Kreskowiak18-Dec-05 11:52 
GeneralRe: Opeing a Form based on a Query Pin
R. A. Abbasi18-Dec-05 13:47
R. A. Abbasi18-Dec-05 13:47 
GeneralRe: Opeing a Form based on a Query Pin
Dave Kreskowiak18-Dec-05 14:46
mveDave Kreskowiak18-Dec-05 14:46 
Questiondbf with VB.Net (2005) Pin
Rainer_4217-Dec-05 11:41
Rainer_4217-Dec-05 11:41 
AnswerRe: dbf with VB.Net (2005) Pin
Mekong River17-Dec-05 16:49
Mekong River17-Dec-05 16:49 
AnswerRe: dbf with VB.Net (2005) Pin
albCode19-Dec-05 5:01
albCode19-Dec-05 5:01 
QuestionDatabase help Pin
Binary011017-Dec-05 8:51
Binary011017-Dec-05 8:51 
AnswerRe: Database help Pin
Christian Graus17-Dec-05 22:12
protectorChristian Graus17-Dec-05 22:12 
GeneralRe: Database help Pin
jcrussell18-Dec-05 18:28
jcrussell18-Dec-05 18:28 
QuestionGame Programming using VB.NET Pin
dipankaronline17-Dec-05 7:34
dipankaronline17-Dec-05 7:34 
AnswerRe: Game Programming using VB.NET Pin
Mazitan17-Dec-05 8:04
Mazitan17-Dec-05 8:04 
AnswerRe: Game Programming using VB.NET Pin
Mekong River17-Dec-05 16:54
Mekong River17-Dec-05 16:54 

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.