ADO.NET
  Home arrow ADO.NET arrow Easing Transition From ASP and ADO to ASP....
Iron Speed
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Download TestComplete 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM Rational Software Development Conference
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ADO.NET

Easing Transition From ASP and ADO to ASP.NET and ADO.Net Part 1/2
By: Ruffin Bailey
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 13
    2002-03-21

    Table of Contents:
  • Easing Transition From ASP and ADO to ASP.NET and ADO.Net Part 1/2
  • Making the connection
  • Where did my RecordSet go?
  • Creating Column Headers
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    Iron Speed
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Easing Transition From ASP and ADO to ASP.NET and ADO.Net Part 1/2
    (Page 1 of 5 )

    You shouldn't have to learn six objects beginning with the word "Data" to start using ADO.NET. More importantly, you shouldn't have to depend on learning a brand new object model for Microsoft's DataGrid object to customize the HTML you're sending to the end user. In this article Ruffin compares classic ASP and ADO to Microsoft's ASP.NET and ADO.NET technologies, easing the transition to ADO.NET for current ADO developers.You shouldn't have to learn six objects beginning with the word "Data" to start using ADO.NET. More importantly, you shouldn't have to depend on learning a brand new object model for Microsoft's DataGrid object to customize the HTML you’re sending to the end user. You've been coding web-based systems in classic ASP for years, and most of your ASP skills do actually carry over to ASP.NET!

    Microsoft seems to be trying hard to make programming for the web exactly parallel to stand-alone application programming, and to these ends Microsoft has made the controls in .NET web forms closely match those found in Windows forms. By doing so, the code used to create a GUI for a .NET Windows application can (with a minimum of tweaking) be used on the Internet as well. This opens up a whole new world to yesterday's Visual Basic 6.0 programmers, without learning the in's and out's of multiple browsers, HTML, XML, JavaScript, and all of the other technologies that we've been learning to make a living for the last few years.

    Unfortunately, Microsoft hasn't done the same thing for HTML/ASP programmers interested in creating stand-alone applications. Not surprisingly, raw HTML has been hidden in .NET more often than not in recent examples, seemingly rendering classic ASP programmers' in-depth HTML experience as void.

    In this article we'll cut to the chase from a classic ASP programmer's point of view and assume that you've learned more than enough HTML to create pages with a little more functionality than Microsoft's generic controls. We'll introduce the minimum number of .NET concepts in this article, one at a time, and will often use classic ASP code examples to ease your transition from classic ASP/ADO to ASP.NET/ADO.NET.

    I'm going to be using Microsoft SQL Server 7.0 as my database in these examples and I'll use the "pubs" database so that you can test the support files for this article on your machine. I'll be coding up several aspx pages with C# as well.

    More ADO.NET Articles
    More By Ruffin Bailey


     

    ADO.NET ARTICLES

    - Datasets in Microsoft.Net
    - Latest Developments in the .Net World
    - Introduction to .NET
    - Automatic Generation of Single Table SQL Sta...
    - Data Access in .NET using C#: Part 1
    - All You Need To Know About ADO.NET: Part 2/2
    - All You Need To Know About ADO.NET: Part 1/2
    - Easing Transition From ASP and ADO to ASP.NE...
    - A Practical Comparison of ADO and ADO.NET






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway