Hi
There is a recent post here that deal with adding data to a database http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1219165&SiteID=1
Take a look at the system.data namespace ... system.data.sqlclient if using sql server and post any specific questions that you may have.
Your last line is a little hard to follow ... am I right to presume that when the user presses a tab you want to move focus to a text box within that tab's container?
If so, take a look at the control.select method. You'd probably want to do this on the click event of the tab strip item; you can also accomplish the same thing by setting appropriate tab index values.
To simply select a region of text within a text box, use the select or selectall methods,
Richard