Help ...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hemlata Shah

    #1

    Help ...

    Hi All
    I am facing a problem . please help me out by identifying which
    datastructure wud suffice my problem:

    I have a table which has 5 columns:comp,st ate,numb,CRB,en viron
    now from the front end i get 2 vaues comp and sates code.. on the
    basis of this i have to retrieve the rest 3 but mind it tht comp code
    and state code r not unique..how do i help this...
    comp,state,numb ,CRB, environ
    11 12 jjj yyyy nnn
    11 12 ooo ppp kkk
    this records can be in any form xml/sql..
    i get from the front end comp code 11 and state code 11,on retrieving
    on the basis of these 2keys i will get 2 records.. but tht is wrong i
    ned onlie one..

    and at the DB level i cannot change anythin.. coz the records can come
    like this way ..
    I vae to handle this condition in C#.. i had an idea of usin hashtable
    for the retrieval and storin purpose but that fails for the same
    records...

    plz help..

    hemlata
Working...