moc2469
Active member
- Joined
- Jun 21, 2007
- Messages
- 27
- Programming Experience
- 1-3
Hi,
This app. is a Schedule Maker for employees. I have a simple array of table names, in each table there are 15 dropdownlist's, 1 for Emp Name, 7 for time IN, and 7 for time OUT.
How do I retrieve the SelectedItem from the ddl in the array.
<code>
Dim sEmpName As String
Dim iC As Int16
Dim oTable(6) As HtmlTable
oTable(0) = Table1 'Actual table name
oTable(1) = Table2
oTable(2) = Table3
oTable(3) = Table4
oTable(4) = Table5
oTable(5) = Table6
For iC = 0 To UBound(oTable) - 1
sEmpName = oTable(iC).FindControl()?????
Next
</code>
This app. is a Schedule Maker for employees. I have a simple array of table names, in each table there are 15 dropdownlist's, 1 for Emp Name, 7 for time IN, and 7 for time OUT.
How do I retrieve the SelectedItem from the ddl in the array.
<code>
Dim sEmpName As String
Dim iC As Int16
Dim oTable(6) As HtmlTable
oTable(0) = Table1 'Actual table name
oTable(1) = Table2
oTable(2) = Table3
oTable(3) = Table4
oTable(4) = Table5
oTable(5) = Table6
For iC = 0 To UBound(oTable) - 1
sEmpName = oTable(iC).FindControl()?????
Next
</code>