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. what is SqlDataSource ?

what is SqlDataSource ?

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-net
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.
  • M Offline
    M Offline
    Mohammed Amine
    wrote on last edited by
    #1

    Hi , i saw an object that asp.et 2.0 brought , this object called sqldatasource actually i don't know if it is new to asp.net 2.0 but i have never seen it before can you tell me please what is that object & when we should use it ? & better how can we use it & how it works ? because i saw that we can use it as a datasource for some controls like gridview && ... but what i don't know is how this wok ? how the data get stored within this object ? i hope you undertstand the meaning thank you

    try to be good if you can't be the best

    M T 2 Replies Last reply
    0
    • M Mohammed Amine

      Hi , i saw an object that asp.et 2.0 brought , this object called sqldatasource actually i don't know if it is new to asp.net 2.0 but i have never seen it before can you tell me please what is that object & when we should use it ? & better how can we use it & how it works ? because i saw that we can use it as a datasource for some controls like gridview && ... but what i don't know is how this wok ? how the data get stored within this object ? i hope you undertstand the meaning thank you

      try to be good if you can't be the best

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

      check this http://www.asp.net/QuickStart/aspnet/doc/ctrlref/data/sqldatasource.aspx[^]

      Nav.

      1 Reply Last reply
      0
      • M Mohammed Amine

        Hi , i saw an object that asp.et 2.0 brought , this object called sqldatasource actually i don't know if it is new to asp.net 2.0 but i have never seen it before can you tell me please what is that object & when we should use it ? & better how can we use it & how it works ? because i saw that we can use it as a datasource for some controls like gridview && ... but what i don't know is how this wok ? how the data get stored within this object ? i hope you undertstand the meaning thank you

        try to be good if you can't be the best

        T Offline
        T Offline
        ToddHileHoffer
        wrote on last edited by
        #3

        I would suggest using the ObjectDataSource instead. That way you can put all your database code in a separate class file. That is what n-tier is all about and it makes maintenance so much easier.

        how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things --thedailywtf 3/21/06

        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