N
news.microsoft.com
I have a form that had 2 textboxes, and 1 combobox. The two texboxes are
disabled by default. I am using the following code to populare the
combobox:
foreach (DataRow rwSecRow in dtSecurity.Rows) {
cbLoginID.Items.Add(rwSecRow[Schema.TblSecurity.colLoginID]);
}
When a user selects an item from the combobox I'd like the two other
textboxes to fill with the data associated with the selected text. My
datatable is called dtSecurity.
CoboName is cbLoginID
UserName texasbox is tbUserName
Password textbox is tbPassword
Any help would be great !
Derek
disabled by default. I am using the following code to populare the
combobox:
foreach (DataRow rwSecRow in dtSecurity.Rows) {
cbLoginID.Items.Add(rwSecRow[Schema.TblSecurity.colLoginID]);
}
When a user selects an item from the combobox I'd like the two other
textboxes to fill with the data associated with the selected text. My
datatable is called dtSecurity.
CoboName is cbLoginID
UserName texasbox is tbUserName
Password textbox is tbPassword
Any help would be great !
Derek