Re: Index was out of range
Re: Index was out of range
Figured out another way to perform this task. The code is as given below
Object[] objArray = new Object[4];
objArray[0] = myProfile.UserName.ToString();
objArray[1] = myProfile.Description.ToString();
objArray[2] = myProfile.Statistics.SubscriberCount.ToString();
objArray[3] = myProfile.Statistics.ViewCount.ToString();
dgv_SearchResult.Rows.Add(objArray);
Warm Regards,
Farrukh Javeid
Re: Index was out of range
Please mark your thread resolved.
It is explained here :
http://www.codeguru.com/forum/showthread.php?t=401115