Click here to Skip to main content
15,891,033 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to kick Microsoft SAM's a$%? Pin
qrosity20-Feb-08 7:44
qrosity20-Feb-08 7:44 
AnswerRe: How to kick Microsoft SAM's a$%? Pin
qrosity21-Feb-08 21:22
qrosity21-Feb-08 21:22 
GeneralRe: How to kick Microsoft SAM's a$%? Pin
Johan Hakkesteegt24-Feb-08 10:24
Johan Hakkesteegt24-Feb-08 10:24 
GeneralRe: How to kick Microsoft SAM's a$%? Pin
qrosity24-Feb-08 11:55
qrosity24-Feb-08 11:55 
GeneralCant find database column that exists [modified] Pin
AAGTHosting20-Feb-08 6:20
AAGTHosting20-Feb-08 6:20 
GeneralRe: Cant find database column that exists Pin
Dave Kreskowiak20-Feb-08 7:02
mveDave Kreskowiak20-Feb-08 7:02 
GeneralUsing Option Strict On Pin
AAGTHosting20-Feb-08 5:09
AAGTHosting20-Feb-08 5:09 
GeneralRe: Using Option Strict On Pin
Dave Kreskowiak20-Feb-08 5:40
mveDave Kreskowiak20-Feb-08 5:40 
You're getting the errors because you're not explicitly converting the values returned by the DataReader to the appropriate types. You're still relying on implicit conversions. All of your "dr(something) expressions return an Object, not an Interger or String or DateTime. You have to explicitly convert those Objects to the appropriate types:
intDay = Convert.ToInt32(dr("ts_day"))




A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: Using Option Strict On Pin
AAGTHosting20-Feb-08 6:43
AAGTHosting20-Feb-08 6:43 
GeneralRe: Using Option Strict On Pin
Dave Kreskowiak20-Feb-08 6:57
mveDave Kreskowiak20-Feb-08 6:57 
GeneralRe: Using Option Strict On Pin
AAGTHosting20-Feb-08 7:02
AAGTHosting20-Feb-08 7:02 
GeneralRe: Using Option Strict On Pin
Dave Kreskowiak20-Feb-08 7:12
mveDave Kreskowiak20-Feb-08 7:12 
AnswerRe: Using Option Strict On Pin
Guffa20-Feb-08 8:41
Guffa20-Feb-08 8:41 
GeneralVB.NET VS C# Pin
Vimalsoft(Pty) Ltd20-Feb-08 4:16
professionalVimalsoft(Pty) Ltd20-Feb-08 4:16 
GeneralRe: VB.NET VS C# Pin
Paddy Boyd20-Feb-08 5:21
Paddy Boyd20-Feb-08 5:21 
GeneralRe: VB.NET VS C# Pin
Christian Graus20-Feb-08 11:27
protectorChristian Graus20-Feb-08 11:27 
GeneralRe: VB.NET VS C# Pin
Guffa20-Feb-08 14:30
Guffa20-Feb-08 14:30 
AnswerRe: VB.NET VS C# Pin
Vimalsoft(Pty) Ltd20-Feb-08 19:11
professionalVimalsoft(Pty) Ltd20-Feb-08 19:11 
QuestionImpact of DIM statement inside a loop ? Pin
David Mujica20-Feb-08 4:08
David Mujica20-Feb-08 4:08 
GeneralRe: Impact of DIM statement inside a loop ? Pin
Dave Kreskowiak20-Feb-08 5:30
mveDave Kreskowiak20-Feb-08 5:30 
GeneralRe: Impact of DIM statement inside a loop ? Pin
David Mujica20-Feb-08 8:18
David Mujica20-Feb-08 8:18 
GeneralRe: Impact of DIM statement inside a loop ? Pin
Guffa20-Feb-08 8:58
Guffa20-Feb-08 8:58 
GeneralRe: Impact of DIM statement inside a loop ? Pin
Dave Kreskowiak20-Feb-08 10:37
mveDave Kreskowiak20-Feb-08 10:37 
QuestionHow to Bind Dataset return directly to Excel in VB .Net.? Pin
Balagurunathan S20-Feb-08 2:04
Balagurunathan S20-Feb-08 2:04 
AnswerRe: How to Bind Dataset return directly to Excel in VB .Net.? Pin
Dave Kreskowiak20-Feb-08 5:45
mveDave Kreskowiak20-Feb-08 5:45 

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.