Geek Articles

Categories

 

Subscribe

Daily Updates Subscribe geekarticles update via email Subscribe geekarticles update via RSS

 
GeekArticles Database SQL Server

Importing an Excel Spreadsheet Using Typed DataSets and TableAdapters: Building the Database

Author: aspnet.4guysfromrolla.com | Published: 27th Feb 2008 | Visited: 50 times | Add Comment
Filed in: SQL Server

In most data-driven Web applications, users add data to the database by entering it through a web page. While this works well for most scenarios, there are times when the user has already collected the data to enter elsewhere, and having them tediously re-enter it through a web page is not only inefficient but prone to typos. In this multi-part series we will examine how to import data from a Microsoft Excel spreadsheet into a database from a web page. Specifically, we will build a tiered application architecture using Typed DataSets and TableAdapters. A ZIP file with the complete source code, Excel spreadsheet, and SQL Server Database is available for download at the end of this article. You may easily modify this tutorial to use an existing database as well. This article and the subsequent installments have been written with step-by-step instructions and screen shots. If you are learning ASP.NET, please refrain from downloading the source code and plunking it into your project, as the best way to learn is to walk through the tutorial from scratch and do each step yourself. In this first installment we will discuss the purpose and architecture of the application and create the database tables. Read on to learn more! Read on to learn more! Read More >

Read Article
 

Sponsored Links

 


Related Articles

 Office Web Component v11.0 Spreadsheet And AJAX Interoperatibility Part 1 This article demonstrate, how OWC and AJAX can be used to store spreadsheet content as XML data into database.This XML in turns rendered as spreadsheet in OWC control from database sou ...

 .NET Building Blocks: Custom User Control Fundamentals Find out the gritty details required to create, test, use, inherit, install, and distribute .NET User Controls of all ty ...

 Taming Trees: Building Branching Structures Learn tree nomenclature and how to build binary trees that can recursively traverse and draw their own no ...

 Can we change default TIMESTAMP (6) precision per session or database? While trawling David Aldridge's site http://oraclesponge.wordpress.com/2008/03/07/timestamps-old-fogeys-and-data-warehouses/ I wondered, but could not find in the documentation: Is there any way of changing the default precision of 6 for TIMESTAM ...

 Building Interactive User Interfaces with Microsoft ASP.NET AJAX: Providing Visual Feedback with the...  Microsoft's ASP.NET AJAX Framework helps page developers design more interactive web pages by streamlining the postback mechanism. In traditional web pages, a full postback involves the browser re-requesting the page, which is then re-rendered. This re-rendered page markup is returned, in its ...

 Building a .NET Console Application for Scheduled Tasks This article walks you through the process of building a simple .NET command-line application that is designed to be scheduled to execute. The sample application will send an HTTP request to a web server and send the returned HTML as the body of an email message. Once the application is complete, ...

 Building a Visual Studio DebuggerVisualizer with a Custom Serializer For most any Serializeable object, making a DebuggerVisualizer is exceeding simple and examples abound. However, if you are trying to build a DebuggerVisualizer for an object which is not Serializable or takes too long to Serialize and Deserialize, things are not quite so simp ...

 Building ASP.NET Web Pages Dynamically in the Code-Behind - Part 2: A Form Example This article shows a technique for building ASP.NET Web pages where the entire page contents are created dynamically in code-be ...

 Using A Single Transaction With Multiple Typed DataSets Provides a detailed explanation of how to implement a single transaction across multiple Typed Data ...

 Upload and view images to/from an Oracle database using an XML Web Service This article explains about uploading and fetching images to/from an Oracle database using XML web services and ASP. ...



Next: Creating an AJAX-Enabled Calendar Control



Post Comment

Name:


Email:
 (Optional. Used for Notification)

Title:

 
Comment:


Validation Code:
 <=>  (Enter this code in text box)





Latest Articles

 

Popular Articles

Sponsored Links