Click here to Skip to main content
15,898,035 members
Home / Discussions / C#
   

C#

 
GeneralRe: Retrieve Filenames Distinctively Pin
Vikram A Punathambekar16-Jan-09 4:43
Vikram A Punathambekar16-Jan-09 4:43 
GeneralRe: Retrieve Filenames Distinctively Pin
S. Senthil Kumar16-Jan-09 7:30
S. Senthil Kumar16-Jan-09 7:30 
AnswerRe: Retrieve Filenames Distinctively [modified] Pin
Luc Pattyn16-Jan-09 8:00
sitebuilderLuc Pattyn16-Jan-09 8:00 
GeneralRe: Retrieve Filenames Distinctively Pin
Giorgi Dalakishvili16-Jan-09 9:56
mentorGiorgi Dalakishvili16-Jan-09 9:56 
GeneralRe: Retrieve Filenames Distinctively Pin
Vimalsoft(Pty) Ltd16-Jan-09 3:28
professionalVimalsoft(Pty) Ltd16-Jan-09 3:28 
GeneralRe: Retrieve Filenames Distinctively Pin
Eddy Vluggen16-Jan-09 4:01
professionalEddy Vluggen16-Jan-09 4:01 
AnswerRe: Retrieve Filenames Distinctively Pin
Henry Minute16-Jan-09 4:52
Henry Minute16-Jan-09 4:52 
GeneralRe: Retrieve Filenames Distinctively Pin
Vimalsoft(Pty) Ltd18-Jan-09 20:02
professionalVimalsoft(Pty) Ltd18-Jan-09 20:02 
Thanks i was able to remove the Duplicates with the Following Code

private static void RemoveDuplicateItems(DropDownList ddl)
{

    for (int i = 0; i < ddl.Items.Count; i++)
    {
        ddl.SelectedIndex = i;
        string str = ddl.SelectedItem.ToString();
        for (int counter = i + 1; counter < ddl.Items.Count; counter++)
        {
            ddl.SelectedIndex = counter;
            string compareStr = ddl.SelectedItem.ToString();
            if (str == compareStr)
            {
                ddl.Items.RemoveAt(counter);
                counter = counter - 1;
            }
        }
    }
}


Thank you Smile | :)

Vuyiswa Maseko,

Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za


QuestionCrystal Report Paper Size Pin
Wlink16-Jan-09 0:47
Wlink16-Jan-09 0:47 
AnswerRe: Crystal Report Paper Size Pin
ambarishtv27-Apr-11 5:31
ambarishtv27-Apr-11 5:31 
QuestionHello Peoples, Pin
Hema Bairavan16-Jan-09 0:45
Hema Bairavan16-Jan-09 0:45 
RantRe: Hello Peoples, Pin
Guffa16-Jan-09 1:16
Guffa16-Jan-09 1:16 
AnswerRe: Hello Peoples, Pin
Tom Deketelaere16-Jan-09 1:44
professionalTom Deketelaere16-Jan-09 1:44 
GeneralRe: Hello Peoples, Pin
Hema Bairavan16-Jan-09 4:30
Hema Bairavan16-Jan-09 4:30 
QuestionOk Mr Tom Pin
Hema Bairavan16-Jan-09 4:46
Hema Bairavan16-Jan-09 4:46 
AnswerRe: Ok Mr Tom Pin
Tom Deketelaere16-Jan-09 4:52
professionalTom Deketelaere16-Jan-09 4:52 
QuestionCaching Method Pin
satsumatable16-Jan-09 0:27
satsumatable16-Jan-09 0:27 
AnswerRe: Caching Method Pin
Steve Hansen16-Jan-09 2:58
Steve Hansen16-Jan-09 2:58 
QuestionBinding two datasets to gridview in windows application. Pin
shaik abdul gani15-Jan-09 23:49
shaik abdul gani15-Jan-09 23:49 
QuestionPrint an arrays by coulms Pin
newbie_15-Jan-09 23:19
newbie_15-Jan-09 23:19 
QuestionRe: Print an arrays by coulms Pin
CPallini15-Jan-09 23:36
mveCPallini15-Jan-09 23:36 
AnswerRe: Print an arrays by coulms Pin
SeMartens15-Jan-09 23:41
SeMartens15-Jan-09 23:41 
GeneralRe: Print an arrays by coulms Pin
J a a n s15-Jan-09 23:52
professionalJ a a n s15-Jan-09 23:52 
GeneralRe: Print an arrays by coulms Pin
SeMartens15-Jan-09 23:58
SeMartens15-Jan-09 23:58 
GeneralRe: Print an arrays by coulms [modified] Pin
newbie_15-Jan-09 23:58
newbie_15-Jan-09 23:58 

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.