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

Answers were Sorted based on User's Feedback



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

Answer / navigator

initally set the AutoPostBack true for the DropDownList and
in SelectedIndexChaged() method of the DropDrownList write
the business logig for the details to be displayed..

Is This Answer Correct ?    1 Yes 0 No

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

Answer / 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

More Dot Net AllOther Interview Questions

What is biginteger and when would you use that?

0 Answers  


data types used in validation control

0 Answers   PCS,


Explain what does the term "green architecture" mean? : Dot net architecture

0 Answers  


Can I create my own context attributes?

0 Answers  


What re interop services?

0 Answers  






What is an asssembly qualified name? Is it a filename? How is it different?

0 Answers  


Explain dma? : Dot net architecture

0 Answers  


Explain about microsoft visual studio?

0 Answers  


What does the term "green architecture" mean? : Dot net architecture

0 Answers  


difference between page init an page load

1 Answers   PCS,


Explain about common language infrastructure?

0 Answers  


Explain <mobile:link> element .net mobile with example? : Microsoft dot net mobile

0 Answers  


Categories