Results 1 to 3 of 3

Thread: Decrypting returned data from dataview

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Decrypting returned data from dataview

    Everything is fine , encryption\decryption is fine too , working very well , but I'm stuck in this little problem , How to decrypt the whole dataview object before I bound it to any control ?
    bear in mind that encryption\decryption routines accept only string and the enc\dec key !
    VB Code:
    1. Dim dv As New DataView(ds.Tables(TableStr), "" & colum & " Like'" & SearchText & "%'", colum, DataViewRowState.CurrentRows)
    Thanks

  2. #2

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    It sounds easy...anyways it's *bump*...lol

  3. #3

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I figured out %50 of it (I can search with encrypted values) and data shown is the listbox but ofcourse encoded. I need to decrypt those values before I bind them to the listbox . Help plz .

    VB Code:
    1. Dim dv As New DataView(ds.Tables(TableStr), "" & colum & " Like'" & Crypt.EncryptText(SearchText, KeyC) & "%'", colum, DataViewRowState.CurrentRows)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width