Working with Data in ASP.NET 2.0 - Efficiently Paging Through Large Amounts of Data

Working with Data in ASP.NET 2.0 - Efficiently Paging Through Large Amounts of DataAs we discussed in the preceding tutorial, paging can be implemented in one of two ways:
- Default Paging – can be implemented by simply checking the Enable Paging option in the data Web control’’s smart tag? however, whenever viewing a page of data, the ObjectDataSource retrieves all of the records, even though only a subset of them are displayed in the page
- Custom Paging – improves the performance of default paging by retrieving only those records from the database that need to be displayed for the particular page of data requested by the user? however, custom paging involves a bit more effort to implement than default paging
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

Forms Authentication, Authorization, User Accounts, and Roles Security Basics and ASP.NET Support

Forms Authentication, Authorization, User Accounts, and Roles  Security Basics and ASP.NET SupportWhat is the one thing forums, eCommerce sites, online email websites, portal websites, and social network sites all have in common? They all offer user accounts. Sites that offer user accounts must provide a number of services. At a minimum, new visitors need to be able to create an account and returning visitors must be able to log in. Such web applications can make decisions based on the logged in user: some pages or actions might be restricted to only logged in users, or to a certain subset of users; other pages might show information specific to the logged in user, or might show more or less information, depending on what user is viewing the page.
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

CREATE A CUSTOM TAB USING VISUAL BASIC

This tutorial explains how to create and embed your own activex component in 3dcreate using visual basic. Objectives the objective of this tutorial is to create a simple activex component and embed it into 3dcreate.
Creating the activex component
1. Create the ActiveX component and give it a unique name
1.1 Start Visual Basic and create a new ActiveX control project.
1.2 Change the project name to ComTutorial1, through ‘Projects > Project1 Properties’.
1.3 Change the ActiveX component name to Tab, through the Properties window.
Now the component has a unique name, which will be used to identify it later.
Read more

Next Page →