Dear All ,
Error has been occured while retriveing multiple records from Direcory . Given my coding below.please help me out this issue . Following error occured :
{System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at System.DirectoryServices.ResultPropertyValueCollection.get_Item(Int32 index)
at StaffInfo._Default.btnSubmit_Click(Object sender, EventArgs e) in D:\NKF Projects\StaffInfo\StaffInfo\Default.aspx.cs:line 95}
Definetely it is from for loop ..but i bit confussed whether i have to change properties syntax or for loop ..
try
{
...
Go to the complete details ...