Click here to Skip to main content
16,005,080 members
Home / Discussions / C#
   

C#

 
QuestionMainForm not here for working in Code? Pin
xenotronic00717-Sep-06 15:38
xenotronic00717-Sep-06 15:38 
AnswerRe: MainForm not here for working in Code? Pin
Christian Graus17-Sep-06 15:48
protectorChristian Graus17-Sep-06 15:48 
GeneralRe: MainForm not here for working in Code? Pin
xenotronic00718-Sep-06 13:25
xenotronic00718-Sep-06 13:25 
GeneralRe: MainForm not here for working in Code? Pin
Christian Graus18-Sep-06 13:45
protectorChristian Graus18-Sep-06 13:45 
QuestionAdd LinkLabel to panal Pin
Muller217-Sep-06 7:38
Muller217-Sep-06 7:38 
AnswerRe: Add LinkLabel to panal Pin
Stefan Troschuetz17-Sep-06 8:18
Stefan Troschuetz17-Sep-06 8:18 
QuestionList collection all elements the same! Help! Pin
TommySu17-Sep-06 7:26
TommySu17-Sep-06 7:26 
AnswerRe: List collection all elements the same! Help! Pin
Stefan Troschuetz17-Sep-06 8:09
Stefan Troschuetz17-Sep-06 8:09 
I think the problem is that you're always adding the same object or to be more specific a reference to the same object. Try moving the creation of the city object into the second while loop.
while (r.Read())
{
  while (r.Name == "City")
  {
    city myCity = new city();
    myCity.LocalizedNames = new Dictionary();
    ...
  }
}



"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

GeneralRe: List collection all elements the same! Help! Pin
TommySu17-Sep-06 17:46
TommySu17-Sep-06 17:46 
AnswerRe: List collection all elements the same! Help! Pin
Guffa17-Sep-06 9:32
Guffa17-Sep-06 9:32 
QuestionEsc Pin
TAREQ F ABUZUHRI17-Sep-06 6:38
TAREQ F ABUZUHRI17-Sep-06 6:38 
AnswerRe: Esc Pin
Amar Chaudhary17-Sep-06 7:00
Amar Chaudhary17-Sep-06 7:00 
Questiona problem with c# IDE Pin
Green Fuze17-Sep-06 5:57
Green Fuze17-Sep-06 5:57 
AnswerRe: a problem with c# IDE Pin
Vikram A Punathambekar17-Sep-06 6:12
Vikram A Punathambekar17-Sep-06 6:12 
GeneralRe: a problem with c# IDE Pin
Green Fuze17-Sep-06 7:29
Green Fuze17-Sep-06 7:29 
AnswerRe: a problem with c# IDE Pin
Vikram A Punathambekar17-Sep-06 6:13
Vikram A Punathambekar17-Sep-06 6:13 
QuestionPrint Pin
MHASSANF17-Sep-06 5:20
MHASSANF17-Sep-06 5:20 
AnswerRe: Print Pin
Green Fuze17-Sep-06 7:34
Green Fuze17-Sep-06 7:34 
QuestionPort Pin
mehrdadc4817-Sep-06 4:16
mehrdadc4817-Sep-06 4:16 
AnswerRe: Port Pin
Jakob Farian Krarup17-Sep-06 19:27
Jakob Farian Krarup17-Sep-06 19:27 
GeneralRe: Port Pin
mehrdadc4817-Sep-06 23:17
mehrdadc4817-Sep-06 23:17 
GeneralRe: Port Pin
Jakob Farian Krarup18-Sep-06 0:06
Jakob Farian Krarup18-Sep-06 0:06 
QuestionSocket Pin
mehrdadc4817-Sep-06 4:06
mehrdadc4817-Sep-06 4:06 
AnswerRe: Socket Pin
Ravi Bhavnani17-Sep-06 5:10
professionalRavi Bhavnani17-Sep-06 5:10 
Questionquestion about autodownloading an update Pin
likefood17-Sep-06 3:22
likefood17-Sep-06 3:22 

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.