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. C#
  4. How to pass datatable as parameter into webservice method

How to pass datatable as parameter into webservice method

Scheduled Pinned Locked Moved C#
helptutorial
3 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.
  • B Offline
    B Offline
    Balaji KJ
    wrote on last edited by
    #1

    Dear All, I want to pass datatable as parameter into method that's written in webservice. It was compiled without escalating any bugs but when I tried to access .asmx files from web location, its return some error which I could understand. So, if you anyone know, how to do this with webservice. kindly leave some sample codes Regards Balaji.K.Jeyaram

    V 1 Reply Last reply
    0
    • B Balaji KJ

      Dear All, I want to pass datatable as parameter into method that's written in webservice. It was compiled without escalating any bugs but when I tried to access .asmx files from web location, its return some error which I could understand. So, if you anyone know, how to do this with webservice. kindly leave some sample codes Regards Balaji.K.Jeyaram

      V Offline
      V Offline
      Vikram A Punathambekar
      wrote on last edited by
      #2

      This is wrong on so many levels. 1. What error did you get? Why don't you tell us that? 2. Did you try googling with the error message? Take a look at the very first result here[^] for the answer and please read this[^] as well.

      Cheers, Vikram.


      The hands that help are holier than the lips that pray.

      A 1 Reply Last reply
      0
      • V Vikram A Punathambekar

        This is wrong on so many levels. 1. What error did you get? Why don't you tell us that? 2. Did you try googling with the error message? Take a look at the very first result here[^] for the answer and please read this[^] as well.

        Cheers, Vikram.


        The hands that help are holier than the lips that pray.

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

        Even I have the same problem. If anyone knows the solution please help me. The error I am getting is "There was an error generating the XML document".

        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