Develop a sample application using LINQ programming and the ADO.NET Entity Framework with IBM DB2, IDS, and U2 servers

Develop a sample application using LINQ programming and the ADO.NET Entity Framework with IBM DB2, IDS, and U2 serversThe IBM Data Server Provider for .NET enables application developers to take advantage of the Microsoft? Entity Framework and LINQ. You can easily develop data access .NET applications using one of the IBM data servers (DB2, Informix Dynamic Server, or U2), the Microsoft ADO.NET Entity Framework, and LINQ. This article shows you how to get started using the Entity Framework with one of the IBM data servers, walking you step-by-step through the process of creating your own application.
Read more

Working with Data in ASP.NET 2.0 Handling BLL and DAL Level Exceptions in an ASP.NET Page

Working with Data in ASP.NET 2.0  Handling BLL and DAL Level Exceptions in an ASP.NET PageWorking with data from an ASP.NET web application using a tiered application architecture involves the following three general steps:
1. Determine what method of the Business Logic Layer needs to be invoked and what parameter values to pass it. The parameter values can be hard coded, programmatically assigned, or inputs entered by the user.
2. Invoke the method.
3. Process the results. When calling a BLL method that returns data, this may involve binding the data to a data Web control. For BLL methods that modify data, this may include performing some action based on a return value or gracefully handling any exception that arose in Step 2.
Read more

Working with Data in ASP.NET 2.0 Nested Data Web Controls

Working with Data in ASP.NET 2.0  Nested Data Web ControlsIn addition to static HTML and databinding syntax, templates can also include Web controls and User Controls. These Web controls can have their properties assigned via declarative, databinding syntax, or can be accessed programmatically in the appropriate serverside event handlers.
Read more

Working with Data in ASP.NET 2.0 Displaying Data with the DataList and Repeater Controls

Working with Data in ASP.NET 2.0  Displaying Data with the DataList and Repeater ControlsIn all of the examples throughout the past 28 tutorials, if we needed to display multiple records from a data source we turned to the GridView control. The GridView renders a row for each record in the data source, displaying the record’s data fields in columns. While the GridView makes it a snap to display, page through, sort, edit, and delete data, its appearance is a bit boxy. Moreover, the markup responsible for the GridView’s structure is fixed - it includes an HTML with a table row () for each record and a table cell () for each field. To provide a greater degree of customization in the appearance and rendered markup when displaying multiple records, ASP.NET 2.0 offers the DataList and Repeater controls (both of which were also available in ASP.NET version 1.x). The DataList and Repeater controls render their content using templates rather than BoundFields, CheckBoxFields, ButtonFields, and so on. Like the GridView, the DataList renders as an HTML , but allows for multiple data source records to be displayed per table row. The Repeater, on the other hand, renders no additional markup than what you explicitly specify, and is an ideal candidate when you need precise control over the markup emitted.
Read more

Working with Data in ASP.NET 2.0 - Using the FormViews Templates

Working with Data in ASP.NET 2.0 - Using the FormViews TemplatesIn the last two tutorials we saw how to customize the GridView and DetailsView controls’ outputs using TemplateFields. TemplateFields allow for the contents for a specific field to be highly customized, but in the end both the GridView and DetailsView have a rather boxy, gridlike appearance. For many scenarios such a gridlike layout is ideal, but at times a more fluid, less rigid display is needed. When displaying a single record, such a fluid layout is possible using the FormView control.
Read more

Next Page →