Click here to Skip to main content
15,925,868 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to get whitespace in xml Pin
PIEBALDconsult8-Oct-08 3:38
mvePIEBALDconsult8-Oct-08 3:38 
Questionopening selected file in seperate window Pin
Chithra Anoop7-Oct-08 18:37
Chithra Anoop7-Oct-08 18:37 
AnswerRe: opening selected file in seperate window Pin
N a v a n e e t h7-Oct-08 19:17
N a v a n e e t h7-Oct-08 19:17 
AnswerRe: opening selected file in seperate window Pin
Pedram Behroozi7-Oct-08 20:00
Pedram Behroozi7-Oct-08 20:00 
QuestionExplenation required Pin
commengamr7-Oct-08 16:37
commengamr7-Oct-08 16:37 
AnswerRe: Explenation required Pin
N a v a n e e t h7-Oct-08 16:45
N a v a n e e t h7-Oct-08 16:45 
AnswerRe: Explenation required Pin
Brij7-Oct-08 20:43
mentorBrij7-Oct-08 20:43 
QuestionHelp files error.. Pin
Slick697-Oct-08 14:35
Slick697-Oct-08 14:35 
AnswerRe: Help files error.. Pin
SeMartens7-Oct-08 21:10
SeMartens7-Oct-08 21:10 
QuestionCrystal Reports Dataset Pin
nelsonpaixao7-Oct-08 13:09
nelsonpaixao7-Oct-08 13:09 
AnswerRe: Crystal Reports Dataset Pin
N a v a n e e t h7-Oct-08 16:51
N a v a n e e t h7-Oct-08 16:51 
AnswerRe: Crystal Reports Dataset Pin
Priya Prk8-Oct-08 3:39
Priya Prk8-Oct-08 3:39 
QuestionBinary Network Article Pin
Expert Coming7-Oct-08 10:36
Expert Coming7-Oct-08 10:36 
AnswerRe: Binary Network Article Pin
Mark Churchill7-Oct-08 19:20
Mark Churchill7-Oct-08 19:20 
AnswerAssigning Generic Type during runtime Pin
2hdass7-Oct-08 10:14
2hdass7-Oct-08 10:14 
GeneralRe: Assigning Generic Type during runtime Pin
Expert Coming7-Oct-08 10:46
Expert Coming7-Oct-08 10:46 
GeneralRe: Assigning Generic Type during runtime Pin
2hdass7-Oct-08 11:08
2hdass7-Oct-08 11:08 
GeneralRe: Assigning Generic Type during runtime Pin
Expert Coming7-Oct-08 12:42
Expert Coming7-Oct-08 12:42 
GeneralRe: Assigning Generic Type during runtime Pin
Caio Kinzel Filho7-Oct-08 11:43
Caio Kinzel Filho7-Oct-08 11:43 
GeneralRe: Assigning Generic Type during runtime Pin
Mark Churchill7-Oct-08 18:55
Mark Churchill7-Oct-08 18:55 
QuestionDetecting RDP sesssion Pin
John Sposato7-Oct-08 9:18
John Sposato7-Oct-08 9:18 
AnswerRe: Detecting RDP sesssion Pin
leppie7-Oct-08 23:47
leppie7-Oct-08 23:47 
QuestionDataType Casting / Convert Pin
Cihan Topçu7-Oct-08 9:13
Cihan Topçu7-Oct-08 9:13 
AnswerRe: DataType Casting / Convert Pin
DaveyM697-Oct-08 9:39
professionalDaveyM697-Oct-08 9:39 
AnswerRe: DataType Casting / Convert Pin
Wendelius7-Oct-08 9:44
mentorWendelius7-Oct-08 9:44 
Most likely the first column of the first row in result is not an int (but for example DbType.Decimal etc).

If you get InvalidCastException, the exception along with the stack should show you what you are actually trying to cast to int.

The need to optimize rises from a bad design

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.