My Access DataBase has few Rows under single person. Some Person's row count is 1, but another person's row count more than 1.
I want create Tab Pages to insert that person's details.
When Creating Tab Pages,
1. Tab Page count must be equal to Row Count. (If that person has 04 rows - 04 tab pages must be created.)
2. Separate MS-Access DataBase row data(Column) put in to that one tab Pages
If click 1st Tab Page : -----> 1st Rows of that Person Details (Field Data / Column) should be there with TextBoxes or Labels
If Click 4th Tab Page : ------> 4th Row of that Person Details (Field Data / Column) should be there with TextBoxes or Labels.
I already done tab Pages creation according to row count with this code, Its with attachment,
Here is the code for Tab Page creations
Dim newPage As New TabPage() Dim RecCount As Integer While QReaderQ.Read() RecCount = RecCount + 1 ' Count How many Rows End While TabControl1.TabPages.Clear() For xXx = RecCount To 1 Step -1 ' to Desending Order ---->3,2,1 newPage = New TabPage 'create new instance If xXx = 1 Then newPage.Text = "Repeat - 1" Else newPage.Text = "Repeat - " & xXx.ToString End If TabControl1.TabPages.Add(newPage) Next
I want put Details from Database to Tab Pages.
1st time repeat data to 1st Tab Page (repeat Data mean DataBase Column)
4th time repeat data to 4th Tab Page (repeat Data mean DataBase Column)
Please Help to do this, My English not good.
I am not asking about full code, but explain me How to do this with simple code example ?