Sir,
In My --MS-Access Data Base,
under one Person (Details) have more rows (When Repeat)
I code to Create Tab Pages equal to Repeat Time like this,
While QReaderQ.Read()
RecCount = RecCount + 1 ' Count How many Rows
End While
'Add Tab Pages Equal of Records,
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
Now I want to add DataBase Field Data to Tab Pages. (Text Box).
Ex. Into 1st Tab Page Text Boxes -----> 1st Row Details (Few Fields in DataBase)
Into 2nd Tab Page Text Boxes -----> 2nd Row Details (Few Fields in DataBase)
Please Help to do this..