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. Web Development
  3. ASP.NET
  4. DataView Problems with web service

DataView Problems with web service

Scheduled Pinned Locked Moved ASP.NET
questiongame-devhelp
1 Posts 1 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.
  • F Offline
    F Offline
    Fatbuddha 1
    wrote on last edited by
    #1

    Hy. In my first App. I hab a DataView where i concat a string for the Rowfilter. After that I returned the DataView I exicuted it and it worked. Now I have to sent the result via a Webservice. The first Prob was that the WebService doesn´t know the DataView so I changed it into a DataTable. Now I have the problem that I return a DataTable, and the changes from the filter are not in it. data.RowFilter = filter; return data.Table; where data is a normal DataView and filter is just a String. So here is my question: How do I get the result of the rowFilter() ??? :doh: Thx Cheers Sorry! Sorry! Just did it! After one hour work! If someone is interested in this here is the code: data.RowFilter = filter; System.Data.DataTable table = new System.Data.DataTable(); table= data.ToTable(); return table; It isn´t nice I know, nut what the hack :) Cheers

    You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)

    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