Please note: In an effort to better serve you, we are in the process of restructuring DevCenter.
In the process, we have moved many items that you may be used to finding in DevCenter over to the
Main Site. If you are having trouble locating something,
please try looking at the following places:
..Continued.. Code: Namespace Referenecs Imports:VB.NET
We Import the SqlClient namespace because in this sample, we will be making use of SQL Server specific classes to connect to the Database and execute commands to retrieve our data. The Infragistics UltraChart namespaces are also imported because we will be referencing several classes and enumerations as well. Code: Class Scoped Variables VB.NET
We have constants that set the minimum and maximum drill level based on an index of 1. We also have a variable that maintains the current drill level. Each time we navigate through the drill levels, this variable is the one that is updated. Drill Down, Drill Back Logic VB.NET
Drilling down and drilling back is as simple as just incrementing or decrementing our Current Drill level variable. We also check to make sure that when we do drill, we do not exceed the minimum or maximum values. ..Continued..