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
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jean PaulPosted Nov 12, 2011, 2:26 AM
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.