I am creating an app that uses tabs. I want to be able to add, edit, and delete on each tab. Basically, I am connected to a sql database, and i want to be able add, edit, and delete items in db and bind to the gridview on a specific tab. I have these three buttons outside of the tabs so they can be used for each one. I am trying to figure out how to use SelectedTab so that the tab I am currently on will be the one that gets changed. Any help is appreciated. thanks