IN C#
if we click a field in the dropdownlist then i have to get
the respected field details in the next textbox..........

Answer Posted / subru

You have to set the Autopostback property of dropdown to
true. And in the dropdownlist's selecetedIndexChanged()
event write the logic to get the value to testbox.

For eg:
private void cmbOperationSelect_SelectedIndexChanged(object
sender, EventArgs e)
{
textbox1.Text =
cmbOperationSelect.Selecteditem.value;
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between running an application with and without debugger?

1540


difference between data reader and dataset

1786


What is private constructor? And it's use?

640


Explain cache? : .NET Architecture

561


Explain Singleton design pattern in .net

576






Explain different pipelining hazards? : Dot net architecture

472


Differences between VS 2005, 2008 and 2010 ?

580


What is an interrupt? : Dot net architecture

506


What is MS chart control in visual studio?

692


How cache is used? : Dot net architecture

499


What are the options provived by vss to the user? how it will help us while delevoping application?

1757


What is the .net class that allows the retrieval of a data element using a unique key?

568


Explain about common language infrastructure?

564


Can you explain atlasuiglitz library?

528


Explain hard disk and what is its purpose? : .NET Architecture

532