Accessing and Updating Data in ASP.NET 2.0: Filtering Database Data with Parameters
In this article we will examine how to declaratively filter the results of a SQL query using parameters in a SqlDataSource. We'll see examples of how to use hard-coded filter values, and well as examples with filter values taken from the querystring and other Web controls on the page.
Ajax ModalPopup Extender in Asp.Net GridView Control
This article helps you more to explore the ModalPopup Extender integrated with Asp.Net GridView control. This article guides you to edit/update data in the GridView control from the ModalPopup Extender.
ASP.NET 2.0 : Using the Menu Control
Of course, you'll also want to explore some of the cool new things that aren't in your existing apps. One of the most useful of the new ASP.NET 2.0 controls is the Menu Control. Once you get past the short learning curve, its easy to set up and maintain, and highly customizable. Here we will take a look at two different ways to set up the Menu Control. One, with the default SiteMap provider using a standard Xml web.siteMap file, and the other using a SqlSiteMapProvider.
Asp.Net AdRotator control with Database Integration
This article explains the concept of Asp.Net AdRotator control fetching ad information from the database and rotates the ads on certain time interval. This article also gives a tip to fetch ad information from an XML file.
Asp.Net GridView Control with Multiple Filters
This article explains the methodology of implementing multiple filters in an Ajax based Asp.Net GridView control. The main point to note down in this article is to filter the data within the GridView
Asp.Net Menu Control XMLDataSource
This article explains the concept of building dynamic navigation control in web applications using Asp.Net Menu Control binding with XMLDataSource.
ASP.NET Outlook-Like Time Field
One of my favorite Outlook features is the time picker used in appointments and tasks. It is a textbox that applies logic when it loses focus. It takes just about anything you can throw at it as input and computes a time in hh:mm tt format (in other words, 3:45 PM). I decided to duplicate this behavior and encompass it in an ASP.NET 2.0 Web control. The standard TextBox control provided 99% of what I needed to accomplish, so I derived my class from this one and started coding!
Changes to the Validation Controls in ASP.NET 2.0
While ASP.NET 1.x supported validating user input, ASP.NET 2.0 increases the flexibility of the validation through the addition of validation groups. This article looks at this new feature, and shows you how you can use it in a number of common scenarios
Convert to PDF from .NET project
ExportToPDF is .NET library that offers the ability to convert csv files, Excel spreadsheets, Access mdb databases, text files, .NET DataTable objects to PDF on the fly. If you need PDF reports you do not have to use complex report generators anymore.
Just create a simple .NET Windows Form or ASP.NET page and export it to PDF with the ExportToPDF assembly. You can set PDF page margins, change page orientation (portrait, landscape), customize headers and footers (change fonts, colors), add page numbers and more.
Editing and Displaying Data with the New ASP.NET 2.0 GridView Control
Among the goodies in ASP.NET 2.0 is a new GridView control, which replaces the old DataGrid. As Jeff Cogswell explains, the GridView is much cooler, and a heck of a lot easier to use. He walks you through the basics.
Examining ASP.NET 2.0's Site Navigation
The site navigation features in ASP.NET 2.0 make it easy to define a site map and implement common navigation UI elements, such as a breadcrumb, treeview, and menu. Due to its use of the provide model, you can dictate how to serialize the site map. ASP.NET 2.0 ships with a default implementation that serializes site map information to an XML-formatted file (Web.sitemap, by default), but as we saw in Part 4 this logic can be customized to garner site map information directly from the file system or through a SQL Server database table. Site navigation can even be configured to use security trimming, which will remove those nodes in the site map for which the currently logged on user does not have authorization to view. In this article we'll look at how to accomplish a hodgepodge of customizations when rendering the navigation UI controls.
Extend the Data Source with Named Calculations
One of the coolest new features of ASP.NET 2.0 is its new Data Source controls. The Data Source controls are a collection of Web controls designed to provide a declarative approach to accessing and modifying data. In short, with the Data Source controls you can work with data without having to write a lick of data access code. Compare this to ASP.NET 1.x, which required oft-repeated code to access data.
GridView Redux
The ASP.NET 2.0 GridView is a wonderful beast that can allow you to create new database rows, edit in place, even provide DropDownLists and CheckBoxes to aid you in the entry process. It can even do data validation.
Implementing a Fixed GridView Header in ASP.NET
This article looks at two new ASP.NET Web controls, the GridView and the Panel. The GridView is an updated variant of the basic grid, and the Panel supports a locatable, scrollable region. The ability to scroll helps you pack more information in the available real estate on a Web page.
Introducing the ASP.NET 2.0 TreeView and Menu Controls
Illustrates how you can use the TreeView and Menu controls in ASP.NET 2.0 to represent hierarchical data in your applications. Shows how to use both controls with various data sources as well as how to customize the appearance of both controls.
Whidbey's New Wizard Control Adds Navigational Power
ASP.NET v2.0 adds many new concepts and controls beyond those shipped in version 1.1. One of these is the Wizard control, which can simplify your life when you need to implement a "step by step" interface style to capture data. The Wizard provides built-in navigation capability that lets you make logical field groupings for each step in a single aspx page where the process would normally require multiple steps (and complicated logic or multiple pages).
Oracle Magazine contains technology-strategy articles, sample code, tips, Oracle and partner news, an all-new Oracle Developer section for Java developers, and more.
subscribe now