hai to all
(in web)how to use tab control in c#
for example: there are 2 tables like categories and sub categories
now i wanna show this categories table in tab form. onclicking the categories tab it as to show the sub categories
How to use tab controls dynamically in c#
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jean PaulRank #32 · 38.5K reputationPosted Nov 11, 2011, 9:26 PM EST
Create a tab page with no pages in it.
Dynamically create the pages based on the categories.
On the SelectedIndexChanged event of tab, write the code to fill the subcategories.
Following is a sample code. Please create a form and place the Form_Load event as following to run it.