Click here to Skip to main content
15,891,473 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: loop selected items in listbox Pin
Christian Graus4-Jul-08 1:36
protectorChristian Graus4-Jul-08 1:36 
GeneralRe: loop selected items in listbox Pin
eyeseetee4-Jul-08 1:37
eyeseetee4-Jul-08 1:37 
GeneralRe: loop selected items in listbox Pin
eyeseetee4-Jul-08 1:23
eyeseetee4-Jul-08 1:23 
AnswerRe: loop selected items in listbox Pin
N a v a n e e t h4-Jul-08 1:18
N a v a n e e t h4-Jul-08 1:18 
GeneralRe: loop selected items in listbox Pin
eyeseetee4-Jul-08 1:23
eyeseetee4-Jul-08 1:23 
GeneralRe: loop selected items in listbox Pin
N a v a n e e t h4-Jul-08 1:26
N a v a n e e t h4-Jul-08 1:26 
GeneralRe: loop selected items in listbox Pin
eyeseetee4-Jul-08 1:30
eyeseetee4-Jul-08 1:30 
GeneralRe: loop selected items in listbox Pin
N a v a n e e t h4-Jul-08 1:36
N a v a n e e t h4-Jul-08 1:36 
.netman wrote:
ListItem item = departments.Items[i].Value;


You are totally lost. Value returns string not ListItem. It should be
ListItem item = departments.Items[i];
item.Value
use foreach as I shown in my first post. foreach is cleaner than this.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

GeneralRe: loop selected items in listbox Pin
eyeseetee4-Jul-08 1:37
eyeseetee4-Jul-08 1:37 
AnswerRe: loop selected items in listbox Pin
Sherin Iranimose4-Jul-08 1:27
Sherin Iranimose4-Jul-08 1:27 
Questionkeypress event. Pin
niki_nilu4-Jul-08 0:54
niki_nilu4-Jul-08 0:54 
AnswerRe: keypress event. Pin
N a v a n e e t h4-Jul-08 0:59
N a v a n e e t h4-Jul-08 0:59 
Questionproblem in webconfig??? Pin
Dotnetkanna4-Jul-08 0:49
Dotnetkanna4-Jul-08 0:49 
AnswerRe: problem in webconfig??? Pin
N a v a n e e t h4-Jul-08 0:56
N a v a n e e t h4-Jul-08 0:56 
Questionhow to run javascript code in asp.net 2.0 Pin
vijaylumar3-Jul-08 23:50
vijaylumar3-Jul-08 23:50 
AnswerRe: how to run javascript code in asp.net 2.0 Pin
Christian Graus4-Jul-08 0:46
protectorChristian Graus4-Jul-08 0:46 
AnswerRe: how to run javascript code in asp.net 2.0 Pin
N a v a n e e t h4-Jul-08 0:52
N a v a n e e t h4-Jul-08 0:52 
GeneralRe: how to run javascript code in asp.net 2.0 Pin
Christian Graus4-Jul-08 1:03
protectorChristian Graus4-Jul-08 1:03 
GeneralRe: how to run javascript code in asp.net 2.0 Pin
N a v a n e e t h4-Jul-08 1:09
N a v a n e e t h4-Jul-08 1:09 
Questionhow to get version of PDF File Pin
koolprasad20033-Jul-08 23:12
professionalkoolprasad20033-Jul-08 23:12 
AnswerRe: how to get version of PDF File Pin
eyeseetee3-Jul-08 23:44
eyeseetee3-Jul-08 23:44 
QuestionRadioButtonList Pin
trilokharry3-Jul-08 22:06
trilokharry3-Jul-08 22:06 
AnswerRe: RadioButtonList Pin
Sherin Iranimose3-Jul-08 22:28
Sherin Iranimose3-Jul-08 22:28 
Questioncursor color change Pin
lav naphade3-Jul-08 22:03
lav naphade3-Jul-08 22:03 
QuestionHow to Solved Excel formula in vb.net Pin
Piyush Vardhan Singh3-Jul-08 21:56
Piyush Vardhan Singh3-Jul-08 21:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.