accessing keys in hash table ...........

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gurmeet07
    New Member
    • Mar 2008
    • 6

    accessing keys in hash table ...........

    hi guys

    if i m navigating among the records saved in hash table.......... .i.e. first record , previous record , next record and last record as navigating buttons can be there on a form........... .......
    if i want to access the first key , previous key , next key and last key from the hash table how to access that ??????

    and then accordingly record will be displayed...... ..............

    i have tried like : ICollection key = (ICollection)ht .Keys;
    it's not working

    is there any way so that i can store all the keys in an array or array list so that i can acess it thru indexes........ .....then my work will be done........as i want the key which is id of the employees to be diplayed in the textbox

    but i dnt know how to do that????


    thnx in advance
Working...