Maheshwag, you already asked <a href=”http://itknowledgeexchange.techtarget.com/itanswers/runtime-control-indexing-problems-to-set-the-index-on-control-for-call-it-in-if-condition/#comment-80671″>this question</a>. Asking it again in a new question won’t help.
If you want to provide more details, please continue the discussion in your previous question.
Also, you should try to post more code (the foreach loop you tried, for example). And, if you think we are not understanding your situation/problem correctly, you might want to get some help rewording it.