how to get present item from generic list using c#
-
Hai i am doing program using list i need to add item to list using first,next,last buttons contioniously when i press previous button it should display the previous item in the list plz any on help me in this case
-
Hai i am doing program using list i need to add item to list using first,next,last buttons contioniously when i press previous button it should display the previous item in the list plz any on help me in this case
well.. the last item in the list will be the total number of items... -1 :omg: Actually, -2, since arrays always start at 0. Then after that everytime you click previous you go one lower. So you'd have to have some variable for the current item your looking at.
My current favourite word is: Bauble!
-SK Genius
-
Hai i am doing program using list i need to add item to list using first,next,last buttons contioniously when i press previous button it should display the previous item in the list plz any on help me in this case