Jun 25, 2003 #1 rahmanjan Programmer Apr 13, 2003 180 AU hi all, I am getting the selected item in asp.net by: string str=cboCat.selectedItem.text how can i do it in windows form. It looks like it is differnt?? Is it? regards
hi all, I am getting the selected item in asp.net by: string str=cboCat.selectedItem.text how can i do it in windows form. It looks like it is differnt?? Is it? regards
Jun 25, 2003 #2 Craig0201 Technical User Oct 11, 2000 1,261 GB Object obj=Combo1.SelectedItem; Then do as you wish with obj Craig Upvote 0 Downvote
Jun 25, 2003 Thread starter #3 rahmanjan Programmer Apr 13, 2003 180 AU That does not work for me. string str=cboCat.selectedItem.text // shows nothing Object obj=Combo1.SelectedItem; //shows some vb code rather than my text regards any other thing? Upvote 0 Downvote
That does not work for me. string str=cboCat.selectedItem.text // shows nothing Object obj=Combo1.SelectedItem; //shows some vb code rather than my text regards any other thing?