Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: ArrayOutOfBound Exception ?


Message #1 by "Rohit Arora" <rohit_arora@i...> on Sun, 23 Feb 2003 13:10:00 +0530
Hi Group,

			string[] abc = new String[3];
			abc = GetRefer(schemaJIB, xnInLinkToFollow.Item(0).InnerText,
strElementNameForInLink);
			abc[2] 
GetKeyReference(schemaJIB,strElementNameForInLink,xnInLinkToFollow.Item(0).I
nnerText);

The code is breaking on abc[2] statement. Now GetRefer returns array with 2
values which get assigned into abc[0] and abc[1] but when i try to add third
element abc[2] it throws arrayoutofbound exception. Whatz goin rong ?

Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229


  Return to Index