ASP.NET
  Home arrow ASP.NET arrow Creating an ASP.NET Dynamic Web Page Using...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 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? 
ASP.NET

Creating an ASP.NET Dynamic Web Page Using MS SQL Server 2008 Database (GridView Display)
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2010-03-04

    Table of Contents:
  • Creating an ASP.NET Dynamic Web Page Using MS SQL Server 2008 Database (GridView Display)
  • Step 1: Creating a database
  • Step 2: Configure and Add Data Source Controls
  • Step 4: Add related content and finishing touches

  • 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
     
     
    ADVERTISEMENT


    Creating an ASP.NET Dynamic Web Page Using MS SQL Server 2008 Database (GridView Display)


    (Page 1 of 4 )

    Dynamic pages (pages that pull, insert, update and delete data or content from a database) are extremely useful in modern websites. They provide a high level of user interactivity that improves user experience. This article will show you how to create such pages in ASP.NET that use a Microsoft SQL Server 2008 database.

    For example, the dynamic table/web page in the screen shot below was created using ASP.NET 3.5 in a MS SQL Server 2008 database:

     

     

    It offers two choices to users. First, they can edit the row data; second, they can delete records. Bear in mind that any update made to the web pages using a browser will automatically be reflected in the database.

    This type of application sees lots of implementation on the Internet. You can see it in action on forums, e-commerce websites, administration panels, guest books, etc. If you are beginner in ASP.NET website development, this tutorial is an important introduction to creating database-driven web pages or websites.

    This tutorial assumes that you have fully learned the fundamentals of creating ASP.NET web pages. You may wish to read the following articles for a review of its technology and its tools (such as Visual Web Developer Express 2008):

    http://www.aspfree.com/c/a/ASP.NET/Develop-Your-First-ASPNET-Website-with-Visual-Web-Developer-Express/

     

    http://www.aspfree.com/c/a/ASP.NET/Building-a-Static-ASPNET-Website-in-a-Basic-Hosting-Environment/

     

    http://www.aspfree.com/c/a/ASP.NET/Adding-Content-to-a-Static-ASPNET-Website/  

    The objective of this tutorial is to let you:  

    • Create your own database using MS SQL Server 2008 for containing important data.

    • Create your own ASP.NET dynamic web page that shows the database- driven content to the browsers.

    • Display the data in grid view (table layout) like the one shown in the screen shot above.

    • Let users update data by editing or deleting records. 
    •  

     

    More ASP.NET Articles
    More By Codex-M


       · It is very nice tutorial. thank you.
       · This is a good tutorial for beginners like me. very good keep it up
     

    ASP.NET ARTICLES

    - ASP.NET 3.5: User Access Rules
    - ASP.NET 3.5: Creating Role Based Security wi...
    - ASP.NET 3.5 Role Based Security and User Aut...
    - Canonicalizing DotNetNuke URLs in ASP.NET 3.5
    - ASP.Net 3.5: User Account Creation for Your ...
    - ASP.NET 3.5 Basic User Account Management
    - Generate Dynamic Title Tag based on QueryStr...
    - Add a Blog Module in DotNetNuke
    - ASP.NET 3.5 Basic Navigation Controls
    - Create ASP.NET 3.5 Sitemap XML for Navigatio...
    - Completing Basic DotNetNuke Website Developm...
    - DotNetNuke Website Development in ASP.NET 3.5
    - ASP.NET Querystring: Basic Dynamic URL Forma...
    - InsertItemTemplate FormView Example in ASP.N...
    - Using the FormView Web Control in ASP.NET 3.5





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek