Click here to Skip to main content
15,914,010 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionIndex was out of range [modified] Pin
ASPnoob10-Jul-07 20:31
ASPnoob10-Jul-07 20:31 
AnswerRe: Index was out of range Pin
Rhys Gravell10-Jul-07 20:46
professionalRhys Gravell10-Jul-07 20:46 
AnswerRe: Index was out of range Pin
valerian.precop10-Jul-07 20:48
valerian.precop10-Jul-07 20:48 
GeneralRe: Index was out of range Pin
ASPnoob10-Jul-07 20:55
ASPnoob10-Jul-07 20:55 
AnswerRe: Index was out of range Pin
Imran Khan Pathan10-Jul-07 20:56
Imran Khan Pathan10-Jul-07 20:56 
GeneralRe: Index was out of range Pin
ASPnoob10-Jul-07 21:15
ASPnoob10-Jul-07 21:15 
GeneralRe: Index was out of range Pin
Imran Khan Pathan10-Jul-07 21:33
Imran Khan Pathan10-Jul-07 21:33 
AnswerRe: Index was out of range Pin
valerian.precop10-Jul-07 21:11
valerian.precop10-Jul-07 21:11 
Imran Khan Pathan is right... I didn't see it the first time but you are doing something like these

You have a "for" that walks through the listBox2 elements and sees which is selected...then you make a query in the database (inside that "for") and you bind the result of the query with the same listBox2...these alters the containt of the listBox2 and the for is not working anymore (ListBox2.Items.Count is not the same after you have done the binding in the "for" statement and also the ListBox2.Items are changed)



Just call me Valy... Smile | :)

AnswerRe: Index was out of range Pin
Guffa10-Jul-07 21:12
Guffa10-Jul-07 21:12 
AnswerRe: Index was out of range Pin
ASPnoob10-Jul-07 21:44
ASPnoob10-Jul-07 21:44 
GeneralRe: Index was out of range Pin
Rhys Gravell10-Jul-07 21:50
professionalRhys Gravell10-Jul-07 21:50 
GeneralRe: Index was out of range Pin
Imran Khan Pathan10-Jul-07 22:03
Imran Khan Pathan10-Jul-07 22:03 
Questionjust asking for compatibility.... Pin
moomoooomoo10-Jul-07 20:29
moomoooomoo10-Jul-07 20:29 
Questionrefresh the page asp.net2.0+c# Pin
regin10-Jul-07 20:28
regin10-Jul-07 20:28 
AnswerRe: refresh the page asp.net2.0+c# Pin
N a v a n e e t h10-Jul-07 20:52
N a v a n e e t h10-Jul-07 20:52 
GeneralRe: refresh the page asp.net2.0+c# Pin
regin10-Jul-07 20:57
regin10-Jul-07 20:57 
GeneralRe: refresh the page asp.net2.0+c# Pin
Imran Khan Pathan10-Jul-07 21:05
Imran Khan Pathan10-Jul-07 21:05 
GeneralRe: refresh the page asp.net2.0+c# Pin
regin10-Jul-07 21:15
regin10-Jul-07 21:15 
GeneralRe: refresh the page asp.net2.0+c# Pin
Imran Khan Pathan10-Jul-07 21:25
Imran Khan Pathan10-Jul-07 21:25 
Questionconversion in vb6 to vb.net [modified] Pin
king2010-Jul-07 20:14
king2010-Jul-07 20:14 
AnswerRe: conversion in vb6 to vb.net Pin
Paul Conrad13-Jul-07 12:20
professionalPaul Conrad13-Jul-07 12:20 
Questionabout event fire Pin
SwaSubhaVijju10-Jul-07 19:19
SwaSubhaVijju10-Jul-07 19:19 
AnswerRe: about event fire Pin
sidbaruah10-Jul-07 19:22
sidbaruah10-Jul-07 19:22 
AnswerRe: about event fire Pin
_AK_10-Jul-07 19:28
_AK_10-Jul-07 19:28 
GeneralRe: about event fire Pin
N a v a n e e t h10-Jul-07 20:17
N a v a n e e t h10-Jul-07 20:17 

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.