Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
0 Points
5 Posts
Mar 27, 2012 04:27 PM|LINK
Hello every body !
I have a Question, I try Code but this not work !, I don't know why ?
detail question
I had,
public DataTable query(string strquery,SqlConnection con) { DataTable tbl = new DataTable(); SqlDataAdapter dapter = new SqlDataAdapter(strquery, con); dapter.Fill(tbl); return tbl; }
and i using string query "Select username from user order by username", to add item into ListUser, this add succeeded !
now, I want, when i select item index other in all items of ListUser then ListUser will Display text of Item selected
ex have 5 items and when ...
item 1 : text Jim Smith -> ListUser.Text = Jim Smith
item 2 : text Micheal -> ListUser.Text = Micheal
How do I ... what I want ?
plz help me !!! tks
Nguyen Van Q...
0 Points
5 Posts
[Help-Support] Get Values Item selected from dropdownlist
Mar 27, 2012 04:27 PM|LINK
Hello every body !
I have a Question, I try Code but this not work !
, I don't know why ?
detail question
I had,
and i using string query "Select username from user order by username", to add item into ListUser, this add succeeded !
now, I want, when i select item index other in all items of ListUser then ListUser will Display text of Item selected
ex have 5 items and when ...
item 1 : text Jim Smith -> ListUser.Text = Jim Smith
item 2 : text Micheal -> ListUser.Text = Micheal
How do I ... what I want ?
plz help me !!! tks