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. Query about SQLDatasource in ASP.Net 2.0

Query about SQLDatasource in ASP.Net 2.0

Scheduled Pinned Locked Moved ASP.NET
databasecsharpasp-nethelpquestion
2 Posts 2 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.
  • C Offline
    C Offline
    ChennaiBabu
    wrote on last edited by
    #1

    :)Hi all, Greetings.i need a help in sqldatasource configuration in asp.net. i'm using multiple drop down list in a project.for that i've to bound data from three different tables in a database using a single sqldatasource.how can i do this.looking for faster reply. Thanks & Regards Babu

    M 1 Reply Last reply
    0
    • C ChennaiBabu

      :)Hi all, Greetings.i need a help in sqldatasource configuration in asp.net. i'm using multiple drop down list in a project.for that i've to bound data from three different tables in a database using a single sqldatasource.how can i do this.looking for faster reply. Thanks & Regards Babu

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      The SqlDataSource control only supports a single view, it means you cannot use a single SqlDataSource object to return multiple result sets. Instead, you can use multiple SqlDataSource objects, or write code to return a single dataset object having 3 difference tables and bind it to the dropdownlist controls, also you remember to set the DataMember property accordingly.

      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