Click here to Skip to main content
15,921,174 members
Home / Discussions / C#
   

C#

 
GeneralRe: Serialization / Deserialization Problem Pin
led mike7-Nov-07 8:06
led mike7-Nov-07 8:06 
AnswerRe: Serialization / Deserialization Problem Pin
Giorgi Dalakishvili7-Nov-07 6:56
mentorGiorgi Dalakishvili7-Nov-07 6:56 
GeneralRe: Serialization / Deserialization Problem Pin
Sautin.net7-Nov-07 8:01
Sautin.net7-Nov-07 8:01 
GeneralRe: Serialization / Deserialization Problem Pin
Giorgi Dalakishvili7-Nov-07 8:07
mentorGiorgi Dalakishvili7-Nov-07 8:07 
QuestionNewbie Problem Pin
kingletas7-Nov-07 5:29
kingletas7-Nov-07 5:29 
AnswerRe: Newbie Problem Pin
snorkie7-Nov-07 5:38
professionalsnorkie7-Nov-07 5:38 
GeneralRe: Newbie Problem Pin
kingletas7-Nov-07 6:37
kingletas7-Nov-07 6:37 
AnswerRe: Newbie Problem Pin
Michael Sync7-Nov-07 5:52
Michael Sync7-Nov-07 5:52 
kingletas wrote:
SqlCmd.CommandText = "select votos_recibidos from party where Name_Party ='" + party + "'";


Take a look this line.. What is the value for the variable called "party"?? maybe. the party name that you are looking for doesn't exist in the database that's why it return row 0.. So, it causes the error when you are accessing like that .GetInt32(0)..



Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

GeneralRe: Newbie Problem Pin
kingletas7-Nov-07 6:44
kingletas7-Nov-07 6:44 
GeneralRe: Newbie Problem Pin
Michael Sync7-Nov-07 7:01
Michael Sync7-Nov-07 7:01 
GeneralRe: Newbie Problem Pin
kingletas7-Nov-07 8:14
kingletas7-Nov-07 8:14 
QuestionSystem.Net settings [modified] Pin
Stevo Z7-Nov-07 5:10
Stevo Z7-Nov-07 5:10 
AnswerRe: System.Net settings Pin
Judah Gabriel Himango7-Nov-07 7:44
sponsorJudah Gabriel Himango7-Nov-07 7:44 
GeneralRe: System.Net settings Pin
Stevo Z7-Nov-07 21:29
Stevo Z7-Nov-07 21:29 
JokeRe: System.Net settings Pin
Judah Gabriel Himango8-Nov-07 4:17
sponsorJudah Gabriel Himango8-Nov-07 4:17 
QuestionMDI Parent & Child Form Pin
tantja7-Nov-07 4:52
tantja7-Nov-07 4:52 
AnswerRe: MDI Parent & Child Form Pin
Matthew Butler7-Nov-07 5:43
Matthew Butler7-Nov-07 5:43 
GeneralRe: MDI Parent & Child Form Pin
tantja7-Nov-07 5:54
tantja7-Nov-07 5:54 
GeneralRe: MDI Parent & Child Form Pin
Matthew Butler7-Nov-07 6:32
Matthew Butler7-Nov-07 6:32 
Questioni need helllllllllllllllllllllllllllllllllllllp Pin
Mohammed Elkholy7-Nov-07 4:42
Mohammed Elkholy7-Nov-07 4:42 
AnswerRe: i need helllllllllllllllllllllllllllllllllllllp Pin
Pete O'Hanlon7-Nov-07 4:48
mvePete O'Hanlon7-Nov-07 4:48 
GeneralRe: i need helllllllllllllllllllllllllllllllllllllp Pin
Mohammed Elkholy7-Nov-07 4:58
Mohammed Elkholy7-Nov-07 4:58 
GeneralRe: i need helllllllllllllllllllllllllllllllllllllp Pin
Paul Conrad7-Nov-07 12:09
professionalPaul Conrad7-Nov-07 12:09 
QuestionOpening file in VS.NET project Pin
Laoujin7-Nov-07 4:27
Laoujin7-Nov-07 4:27 
AnswerRe: Opening file in VS.NET project Pin
Pete O'Hanlon7-Nov-07 4:31
mvePete O'Hanlon7-Nov-07 4:31 

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.