Hi,
Can anybody help me, I have an tabcontrol which has dynamically added the tabpages now i want to add datagridview controls in each tab pages how i can do this.I am written the code like
For i = TabControl1.TabPages.Count - 1 To 0 Step -1
Dim dtg As New DataGridView
TabControl1.TabPages(i).Controls.Add(dtg)
Next
But it only works for count=1.
Thanks in advance.............