I want to display in following manner.i tried a lot with Matrix with celing function but i can't achieve it.
My Crieteria:
I Used to Develop An attendence Register for employees.Each Employees have Multiple Login and Logout.
NwMy Issue is I want to Group Each Employees with having his own IN andOut on a particular day he Present.And at the same time since eachemployees having several login and logout for a particular day.I wantto Wrap a matrix after certain columns and display the rest in nextline for that day of that employee
ie,
i Want in this format
Employee Name: E1
Present Day 1
IN1 OUT1 IN2 OUT2 IN3 OUT3........after a particular column it should be wrapped and displayed in next line
IN4 Out4 IN5 OUT5............this process is continued until all the login and Logouts of tht employees is displayed...
Then
Present Day2
INs and Outs
Present Day3
INs and Outs
After The first Employees
Similar Format is For all the other employees
How can i achieve this??
Could you be more specific? Say, where are your data? in SQL Server?
You can use, for example, nested datalist's, with the nested DataList configured with the columns you want to display, is very easy and there are a lot of tutorials, but I don't know exactly where are your data and where do you want to display that information.
Another way is to retrieve it in XML and render with a XSLT stylesheet. Is quite more complex but gives you more flexibility.
Here's a tutorial with nested repeaters, but the philosophy with datalists is the same.
http://www.aspnettutorials.com/tutorials/controls/nested-repeater-vb.aspx