How do I change data retrieved from db before sending it out to client

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default How do I change data retrieved from db before sending it out to client

    I'm new to dotnet. This might not be the right place to post my
    question, if so, accept my apoligies and please redirect me to the
    correct group.

    I made a web service and it is working well, but some of the data I
    retrieved from the database is in coded format (eg. R for Released).

    1) What is the simplest way I can translate that data before sending it
    out to the client?

    2) Can I easily read codes and text from a table and use that to
    translate the codes to text before sending to the client?

    This is what I have done so far:
    - generated a oleDbDataAdapter (with SQL stmt that retrieves raw data)
    - generated a dataset
    - coded a web method that fills the dataset from the dataAdapter and
    returns the dataset to the client
    - coded a client to get the data and display it in a datagrid.

    What I need now is to alter the data to something sensible for the
    client to read. I figure I should probably do that at the WebServices
    end, otherwise all clients will have to do the translation.

    Thanks in advance for any help.

    Raakeli Guest

  2. Similar Questions and Discussions

    1. ASP.Net client sending XML string
      Hi, I am using a .Net (VB.Net) webservice with an ASP.net client to generate an xml string from a db and then send it to a web service on the...
    2. Checkboxes for sending progress to the client
      Hello, I'am trying to do the following : I've made a web site on which you can do some tasks on the server and would like to inform the user...
    3. Sometime only one data can retrieved
      Hi, I developed web application with ASP, it was running well before we changed to use new server. After we started using new server since last...
    4. nothing retrieved from ntext data type?
      Possibly this? http://support.microsoft.com/?kbid=200124 If not that, what code? Ray at work "s" <anonymous@discussions.microsoft.com>...
    5. Sending Client Side Event ?
      "Genival" <geniobr@hotmail.com> wrote in message news:e1x0bIOdDHA.2804@TK2MSFTNGP11.phx.gbl... You can't quite do this. The only thing your...
  3. #2

    Default Re: How do I change data retrieved from db before sending it out to client

    I'm wondering if I've explained my problem badly. Someone please
    comment.

    Raakeli Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139