Click here to Skip to main content
       

C#

 
GeneralRe: DirectX9 PinmvpDave Kreskowiak15-Jan-13 6:48 
GeneralRe: DirectX9 Pinmemberelectriac15-Jan-13 12:17 
GeneralRe: DirectX9 PinmvpDave Kreskowiak15-Jan-13 19:39 
GeneralRe: DirectX9 Pinmembermarkovl16-Jan-13 1:48 
GeneralRe: DirectX9 Pinmemberelectriac16-Jan-13 4:42 
QuestionDatagridview DataSource Change Auotmatically without need PinmemberMohamed Nabawy14-Jan-13 16:35 
AnswerRe: Datagridview DataSource Change Auotmatically without need PinmemberPIEBALDconsult14-Jan-13 17:19 
QuestionHow to get the select value in a multiple dropdownlist Pinmembervanilsonwdd14-Jan-13 13:20 
hi, I'm trying to get multiple values that was selected in a dropdown list, the problem is that it's only returning one value, if I select two or more values only give me one, here's the code:
List<String> dep = new List<String>();
        foreach (ListItem item in sltnamedep.Items)
        {
 
            if (item.Selected)
            {
 

                
                dep.Add(item.Text);
 

            }
 
        }
        for (int i = 0; i < dep.Count; i++)
            Response.Write(dep[i]);

AnswerRe: How to get the select value in a multiple dropdownlist Pinmemberjibesh14-Jan-13 14:33 
AnswerRe: How to get the select value in a multiple dropdownlist Pinmembermicke.andersson28-Jan-13 3:54 
QuestionAdding a reference to a project PinmemberTheGermoz14-Jan-13 11:33 
AnswerRe: Adding a reference to a project PinmvpRichard MacCutchan14-Jan-13 22:21 
QuestionHow can i save data from word table to SQL database C# PinmemberNkeshe14-Jan-13 2:16 
AnswerRe: How can i save data from word table to SQL database C# PinmvpEddy Vluggen14-Jan-13 3:15 
QuestionReading jpeg image from a binary data Pinmembercoolprasadhegde14-Jan-13 0:44 
AnswerRe: Reading jpeg image from a binary data PinmvpOriginalGriff14-Jan-13 0:53 
GeneralRe: Reading jpeg image from a binary data Pinmembercoolprasadhegde14-Jan-13 20:38 
GeneralRe: Reading jpeg image from a binary data PinmvpOriginalGriff14-Jan-13 21:03 
QuestionCapturing windows messages PinmemberDainer Mesa Lima13-Jan-13 19:45 
AnswerRe: Capturing windows messages PinmvpSandeep Mewara13-Jan-13 20:23 
AnswerRe: Capturing windows messages PinprotectorPete O'Hanlon13-Jan-13 23:29 
QuestionSqlConnection vs IDbConnection Pinmemberlevanduyet_vn13-Jan-13 15:40 
AnswerRe: SqlConnection vs IDbConnection PinmemberPIEBALDconsult13-Jan-13 15:56 
AnswerRe: SqlConnection vs IDbConnection PinmemberSimon_Whale14-Jan-13 0:01 
QuestionLINQ with List PinmemberMember 873185913-Jan-13 9:48 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.141015.1 | Last Updated 22 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid