Skip to posts
  • About

Win Web Hosting

Web Hosting Information
  • Home
  • ASP.NET
  • Cloud Hosting
  • Dedicated Servers
  • Linux Web Hosting
  • Microsoft AJAX
  • Microsoft Siverlight
  • Windows Web Hosting

What is the best ASP.NET SQL data retrieval method to learn?

March 9, 2010 James 4 comments
ASP.NET ASP.NET, best, data, learn, method, retrieval

Comments

Leave a comment Trackback
  • Written by Ratchetr about 2 years ago.

    You should probably be at least familiar with all 3. Not an expert, but at least a basic understanding.

    My personal preference is LINQ. What I like about it is that it extends well beyond just SQL. Linq for SQL, Linq for entities, Linq for XML, Linq for datasets..etc, etc, etc. I like working with something that provides such a broad abstraction.

  • Written by Skylar about 2 years ago.

    I also suggest Linq :)

  • Written by dhvrm about 2 years ago.

    LINQ is a query language. In and of itself, it cannot be used to retrieve data.

    ADO.NET is a framework that contains a number of namespaces and classes used to work with data. There is no practical reason behind “learning ADO.NET,” since it has many, many parts, much of which isn’t applicable to SQL Server.

    SqlDataSource is a control, not a technology. It leverages the ADO.NET framework. Its primary benefit is its near-total abstraction of the process of getting information into and out of a SQL Server database.

    Generally speaking, when you want to get data from SQL Server in ASP.NET, you can use the SqlDataSource control. You can also use the System.Data.SqlClient namespace to programmatically work with a SQL Server. Most people would probably find the SqlDataSource control easiest to learn and use.

    http://www.asp.net/learn/data-access/

  • Written by chengfee.Zvet about 2 years ago.

    Hi, I’m using SqlDataAdapter with DataSet instead of SqlDataSource. Both of them work similarly but I just get very used with SqlDataAdapter with DataSet. For instance:

    Dim da as SqlDataAdapter = New SqlDataAdapter(“Select * from Table1″, connectionString)

    Dim ds as new DataSet( )

    da.Fill(ds, “Table1″)

    variable1 = da.Tables(“Table1″).Rows(0).Item(“ID”)

    As easy as 1, 2, 3 :)

Comment Pages:

Leave a Comment

Cancel Reply

You must be logged in to post a comment.

RSS

Win Web Hosting Home Page

Cheap Windows Hosting

 

May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  

Archives

  • May 2012 (55)
  • April 2012 (81)
  • March 2012 (82)
  • February 2012 (79)
  • January 2012 (92)
  • December 2011 (163)
  • November 2011 (205)
  • October 2011 (339)
  • September 2011 (367)
  • August 2011 (367)
  • July 2011 (322)
  • June 2011 (338)
  • May 2011 (358)
  • April 2011 (94)
  • March 2011 (40)
  • February 2011 (36)
  • January 2011 (41)
  • December 2010 (30)
  • November 2010 (40)
  • October 2010 (41)
  • September 2010 (52)
  • August 2010 (150)
  • July 2010 (165)
  • June 2010 (159)
  • May 2010 (238)
  • April 2010 (248)
  • March 2010 (202)
  • February 2010 (576)

Recent Posts

  • Flash, HTML5 or Silverlight?
  • Data Binding Part 1
  • Silverlight Data Visualization
  • Database connection string access 2003 and 2007
  • coresuite map EN

Tags

.NET 2010 about AJAX Application Applications ASP.NET best Business cheap cloud Company Computing Control Create data Dedicated Development Free from help Host hosting India Introduction Linux Microsoft more need Page Part private Server servers service Services Silverlight Site Software Source Tutorial Using Video website Windows

Categories

  • ASP.NET
  • Cloud Hosting
  • Dedicated Servers
  • Linux Web Hosting
  • Microsoft AJAX
  • Microsoft Siverlight
  • Windows Web Hosting

Meta

  • Register
  • Log in
  • Valid XHTML
Powered by WordPress Web Design by SRS Solutions © 2012 Win Web Hosting