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. LINQ
  4. How to use LINQ to DATASET

How to use LINQ to DATASET

Scheduled Pinned Locked Moved LINQ
csharplinqtutorial
3 Posts 3 Posters 2 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.
  • G Offline
    G Offline
    gauravkk
    wrote on last edited by
    #1

    This is Gaurav.I am new in using linq please some one tell me how to use linq to dataset.

    N 1 Reply Last reply
    0
    • G gauravkk

      This is Gaurav.I am new in using linq please some one tell me how to use linq to dataset.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Look here[^]


      I know the language. I've read a book. - _Madmatt

      P 1 Reply Last reply
      0
      • N Not Active

        Look here[^]


        I know the language. I've read a book. - _Madmatt

        P Offline
        P Offline
        PunkIsNotDead
        wrote on last edited by
        #3

        jaja :laugh: :laugh: that's the best page I've ever seen! found everything...

        //ds = DataSet with 1 table...
        //cust = var to asign the Data...
        //c.Field("customerid") = customerid is a string value of the table 0 of the DS... and companyname too
        var custs =
        from c in ds.Tables[0].ToQueryable()
        select new
        {
        cid = c.Field("customerid"),
        co = c.Field("companyname")
        };

        so... what have you expected? Is the same LINQ to SQL... ;)

        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