Click here to Skip to main content
15,913,669 members
Home / Discussions / C#
   

C#

 
GeneralRe: PostMessage(WM_CLOSE) Pin
Dewald8-Dec-06 3:11
Dewald8-Dec-06 3:11 
GeneralRe: PostMessage(WM_CLOSE) Pin
Luc Pattyn8-Dec-06 4:54
sitebuilderLuc Pattyn8-Dec-06 4:54 
QuestionDeterming SQL Express Instance name using C# Pin
wasife7-Dec-06 22:05
wasife7-Dec-06 22:05 
AnswerRe: Determing SQL Express Instance name using C# Pin
Ed.Poore7-Dec-06 23:14
Ed.Poore7-Dec-06 23:14 
QuestionHow to Use Sql Transactions With DataRow ? Pin
hdv2127-Dec-06 21:55
hdv2127-Dec-06 21:55 
QuestionSelect more than one subitem in ListView Pin
Sarvan AL7-Dec-06 21:16
Sarvan AL7-Dec-06 21:16 
AnswerRe: Select more than one subitem in ListView Pin
Ed.Poore7-Dec-06 23:15
Ed.Poore7-Dec-06 23:15 
QuestionException:System.IndexOutOfRangeException (Urgent) Pin
Saira Tanwir7-Dec-06 21:15
Saira Tanwir7-Dec-06 21:15 
hi friends
can anyone plz guide me on the exception
An unhandled exception of type 'System.IndexOutOfRangeException' occurred in system.windows.forms.dll<br />
<br />
Additional information: Index was outside the bounds of the array.<br />


heres the code that gives me the exception

int count=4;<br />
	int[] indice = new int[count]; <br />
	MessageBox.Show(count.ToString());<br />
	for(int i=0;i<count;i++)<br />
	indice[i] = TableListBox.CheckedIndices[i];<--Exception<br />
	return indice;


plz reply quickly
AnswerRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
chravisankar7-Dec-06 21:21
chravisankar7-Dec-06 21:21 
AnswerRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
Saira Tanwir7-Dec-06 21:37
Saira Tanwir7-Dec-06 21:37 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
chravisankar7-Dec-06 21:47
chravisankar7-Dec-06 21:47 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
Saira Tanwir7-Dec-06 21:55
Saira Tanwir7-Dec-06 21:55 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
chravisankar7-Dec-06 22:02
chravisankar7-Dec-06 22:02 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
quiteSmart7-Dec-06 22:02
quiteSmart7-Dec-06 22:02 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
Saira Tanwir7-Dec-06 22:08
Saira Tanwir7-Dec-06 22:08 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
quiteSmart7-Dec-06 22:16
quiteSmart7-Dec-06 22:16 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
Saira Tanwir7-Dec-06 22:26
Saira Tanwir7-Dec-06 22:26 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
quiteSmart7-Dec-06 22:28
quiteSmart7-Dec-06 22:28 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
Christian Graus7-Dec-06 22:33
protectorChristian Graus7-Dec-06 22:33 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
Saira Tanwir7-Dec-06 22:47
Saira Tanwir7-Dec-06 22:47 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
chravisankar7-Dec-06 23:31
chravisankar7-Dec-06 23:31 
AnswerRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
quiteSmart7-Dec-06 21:34
quiteSmart7-Dec-06 21:34 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
J4amieC7-Dec-06 22:09
J4amieC7-Dec-06 22:09 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
quiteSmart7-Dec-06 22:14
quiteSmart7-Dec-06 22:14 
AnswerRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
Christian Graus7-Dec-06 22:39
protectorChristian Graus7-Dec-06 22:39 

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.