View Single Post
  #2  
Unread 08-23-2006, 11:09 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

someTextbox.LocalText = TabPage.SelectedIndex.charname
someTextbox2.LocalText = TabPage.SelectedIndex.charserver

This works for any object with a SelectedIndex atribute linked to a DataSource. Drop down menus work great.

I suggest you move the username and password to a simple varibale assignment rather than making them part of the DataSource. You'll have a hard time referencing them from a dataSource if they aren't the selected item.
Reply With Quote