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

which would be the best to use inproc,outproc or sql server

2 Answers   Ness Technologies,


if there are two application 1 and 2 having a variable x in both app if client1 changes value of x in 1 app client 2 want reads the value of x from 2 app what resultant value will he get

0 Answers   PCS,


What is the purpose of Treeview control?

0 Answers   CGI,


What is .net mobile images control. Explain with an example? : Microsoft dot net mobile

0 Answers  


What does this do? Gacutil /l | find /i "corillian"

0 Answers  


What is application frame host?

0 Answers  


What are different types that a variable can be defined and their scopes ?

0 Answers  


What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?

0 Answers  


Define pipelining? : Dot net architecture

0 Answers  


What's the difference between an application and a program?

0 Answers  


1. How to restrict a class from allowing to create only one object. I.e., one should be allowed to create only one object of the class type.

1 Answers   247Customer, FinEngine, TCS,


Define an interrupt? : Dot net architecture

0 Answers  


Categories