Click here to Skip to main content
15,915,086 members
Home / Discussions / C#
   

C#

 
Questionwebdav exchange server Pin
mhusleag2-May-06 4:25
mhusleag2-May-06 4:25 
QuestionToolStripTextBox disappearing in context menu Pin
Wjousts2-May-06 4:11
Wjousts2-May-06 4:11 
QuestionError while Calling WebService Pin
Jax_qqq2-May-06 3:45
Jax_qqq2-May-06 3:45 
AnswerRe: Error while Calling WebService Pin
Paddy Boyd2-May-06 4:47
Paddy Boyd2-May-06 4:47 
GeneralRe: Error while Calling WebService Pin
Jax_qqq2-May-06 18:05
Jax_qqq2-May-06 18:05 
Questionwindows based application querry ! Pin
meer_Lx2-May-06 3:37
meer_Lx2-May-06 3:37 
AnswerRe: windows based application querry ! Pin
Paddy Boyd2-May-06 4:45
Paddy Boyd2-May-06 4:45 
GeneralRe: windows based application querry ! Pin
meer_Lx2-May-06 19:13
meer_Lx2-May-06 19:13 
sending u code sample
private void drpcity_SelectedIndexChanged(object sender, System.EventArgs e)
{ RemoveData();
}


public void RemoveData()
{
ArrayList arr = new ArrayList();
arr.Add("UserName");
arr.Add("City");
arr.Add("State");
arr.Add("Country");
arr.Add("Expertise");
arr.Add("AboutMe");
arr.Add("Rank");
arr.Add("Score");

if(drpuname.Enabled)
{
drpuname.DataSource = arr;
string str = drpuname.SelectedItem.ToString();
drpuname.Items.Remove(str);
}

if(drpcity.Enabled)
{
try
{
string str= drpcity.SelectedItem.ToString();
arr.Remove("str");
drpcity.DataSource = arr;
drpcity.Items.Remove(str);
}
catch(Exception ee)
{
string msg = ee.Message;
}
}
}

in this way 7 dropdownlist are used in coding like uname, city....

can anyone suggest solution for it

Thanx,
meer

Software Developer
Pune.
Questionoptimize drawing operations Pin
Sasuko2-May-06 3:19
Sasuko2-May-06 3:19 
AnswerRe: optimize drawing operations Pin
J4amieC2-May-06 3:35
J4amieC2-May-06 3:35 
GeneralRe: optimize drawing operations Pin
Sasuko2-May-06 7:25
Sasuko2-May-06 7:25 
GeneralRe: optimize drawing operations Pin
J4amieC2-May-06 7:44
J4amieC2-May-06 7:44 
GeneralRe: optimize drawing operations Pin
Susuko2-May-06 9:25
Susuko2-May-06 9:25 
QuestionWindow Form - menu,height/width? Pin
george ivanov2-May-06 3:18
george ivanov2-May-06 3:18 
AnswerRe: Window Form - menu,height/width? Pin
J4amieC2-May-06 3:32
J4amieC2-May-06 3:32 
AnswerRe: Window Form - menu,height/width? Pin
Larantz2-May-06 4:54
Larantz2-May-06 4:54 
QuestionIs the VS 2005 Webbrowser really ready for prime time? Pin
cweeks786812-May-06 3:09
cweeks786812-May-06 3:09 
AnswerRe: Is the VS 2005 Webbrowser really ready for prime time? Pin
Judah Gabriel Himango2-May-06 5:49
sponsorJudah Gabriel Himango2-May-06 5:49 
Questionhow+which controll should i use to create table+ text in one view Pin
junaidbilal2-May-06 2:32
junaidbilal2-May-06 2:32 
AnswerRe: how+which controll should i use to create table+ text in one view Pin
Graham Nimbley2-May-06 2:39
Graham Nimbley2-May-06 2:39 
GeneralRe: how+which controll should i use to create table+ text in one view Pin
junaidbilal2-May-06 3:48
junaidbilal2-May-06 3:48 
GeneralRe: how+which controll should i use to create table+ text in one view Pin
Graham Nimbley2-May-06 5:52
Graham Nimbley2-May-06 5:52 
GeneralRe: how+which controll should i use to create table+ text in one view Pin
junaidbilal2-May-06 20:39
junaidbilal2-May-06 20:39 
QuestionRemoving Context Menu Items Pin
MCSD-Gandalf2-May-06 1:47
MCSD-Gandalf2-May-06 1:47 
AnswerRe: Removing Context Menu Items Pin
MCSD-Gandalf2-May-06 4:29
MCSD-Gandalf2-May-06 4:29 

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.