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

How many types of languages does .net support? name at least 10-15?

12 Answers   Interac, Six Sigma, TechUnity,


What are relation objects in dataset?

0 Answers  


What is the difference between machine config vs. Web config : Dot net architecture

0 Answers  


Can you explain control extenders?

0 Answers  


what is sessions and cookies take one example simple way to understand

0 Answers  






Which software is used for .net programming?

0 Answers  


Explain about metadata?

0 Answers  


What is textview control of .net mobile? : Microsoft dot net mobile

0 Answers  


what are ACID properties ?

3 Answers  


Explain difference between state server and sqlserver? : .NET Architecture

0 Answers  


How can we integrate atlas with web services?

0 Answers  


what are login controls?

0 Answers   Six Sigma,


Categories