Last post Jun 08, 2011 10:41 PM by suresh_g_v2002
Jun 08, 2011 10:34 PM|joeyan|LINK
I developing a roster application (asp.net with VB + sql server) to let user input shift duty record, proposed screen as follows:
for the database design, each staff will have one record per day.
staff_key, shift_date, start_time, end_time, shift_patten, SL, VL, ML, PH, APH, etc.
123, 23-5-2011, 9:00, 17:00, A, N, N, N, N, N
123, 24-5-2011, 12:00, 19:00, B, N, N, N, N, N
123, 25-5-2011, 12:00, 19:00, B, N, N, N, N, N
I want to create a multi dimensional array to bind the gridview.
Is that correct that I create a arraylist (for 7 days) and then a subarray for each day ?
How can I create a 7 dimensional array & sub array under this 7-D array in asp.net + VB ?
Jun 08, 2011 10:41 PM|suresh_g_v2002|LINK
For this we shoud use Jagged Arrays...,
Here is the reference..http://www.dotnetperls.com/jagged-array-vbnet
But binding it to Grid.., u need to write custom code