Sunday, June 9, 2013

IndexOutOfRangeException in c#

I line number 4, you are trying to access the index which is not exists. before you read using indexes validate it whether is it exists or not.


make sure that dtplaylist has rows and in it.




Thanks & Regards

Syed Amjad Sr. Silverlight/WPF Developer,

yahoo : syedamjad6736@yahoo.com, skype : syedamjad.0786.

Please use Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful.


No comments:

Post a Comment