The Data in the Table is as follows:
Question:
How to display the Data as given below:
Solution:
To get the functionality of displaying the data in a repetitive manner we will need a Datalist. The RepeatColumns Property of the DataList allows us to specify the number of columns to be repeated.
The column Title has duplicate Records like "Sales Representative", "Sales Manager".....To avoid the Title Columns to be repeated one way to to manipulate the data is using the SortedList (a class in the System.Collections namespace). This class is a collection of Key and Value pair. So we can check for if the value Exists and accordingly discard the value for the duplicate data.
Step 1:
So in webform1.aspx we'll have:
<
Sub
To display all the Employees for the Specific Title add a DataGrid within the DataList.
Function
Private
That all needed to run the code!!!!
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: