Hi All,
I want to save a list box selected item in a string or textbox it is ok in asp.net but my application is windows application .net 3.5 in c# .
can u help me please...
Saving list box selected item in a string in c# windows application
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Feb 8, 2010, 2:09 AM EST
string SelectedItem = listBox1.SelectedItem.ToString();
Anish Khan25 reputationPosted Feb 8, 2010, 7:24 PM EST
Thanks for reply..
I knew this one, it is working in web application not in windows application..
I need code in windows application
Please help me..
thanks
Anish
Lalit MRank #1,186 · 1.5K reputationPosted Feb 8, 2010, 8:10 PM EST
Anish Khan25 reputationPosted Feb 8, 2010, 9:21 PM EST
Both comment are question there is no any solutions
and also both code are not working and there is so many syntex error.
Please guide me for correct amswer.
Thanks