Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. how can I use a function in WCF which will return dataset or ArrayList

how can I use a function in WCF which will return dataset or ArrayList

Scheduled Pinned Locked Moved WCF and WF
csharpwcftutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alim12345
    wrote on last edited by
    #1

    hi, In my code i am using Dataset as return type for Operation Contract. its like [OperationContract] Dataset FetchEmployeeDetails(); But after running my WCF in WCF Test Client it is coming like "This Operation is not supported in WCF" Can any one guide me how can I use a function in WCF which will return dataset or ArrayList......... Thanks & Regards, Alim

    M 1 Reply Last reply
    0
    • A Alim12345

      hi, In my code i am using Dataset as return type for Operation Contract. its like [OperationContract] Dataset FetchEmployeeDetails(); But after running my WCF in WCF Test Client it is coming like "This Operation is not supported in WCF" Can any one guide me how can I use a function in WCF which will return dataset or ArrayList......... Thanks & Regards, Alim

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Alim12345 wrote:

      after running my WCF in WCF Test Client it is coming like "This Operation is not supported in WCF"

      Not supported in WCF or not supported in the test client? I would make a real client app and see if it works from there... Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      A 1 Reply Last reply
      0
      • M Mark Salsbery

        Alim12345 wrote:

        after running my WCF in WCF Test Client it is coming like "This Operation is not supported in WCF"

        Not supported in WCF or not supported in the test client? I would make a real client app and see if it works from there... Mark

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        A Offline
        A Offline
        Alim12345
        wrote on last edited by
        #3

        hi I Used list entity.... now my grid is brinidng

        V 1 Reply Last reply
        0
        • A Alim12345

          hi I Used list entity.... now my grid is brinidng

          V Offline
          V Offline
          Vallisha K
          wrote on last edited by
          #4

          give a sample usage of the list you have used to achieve this.........

          A 1 Reply Last reply
          0
          • V Vallisha K

            give a sample usage of the list you have used to achieve this.........

            A Offline
            A Offline
            Alim12345
            wrote on last edited by
            #5

            Inteface: [OperationContract] List FetchDetails(); Implemenation in Service... public List FetchDetails() { List Emplist = db.Spr_GetEmployerDetails().ToList(); //List l=new List(); return Emplist; } Accessing in UI: wdgdView.DataSource = LTS.FetchDetails();

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups