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 parallel computing?

0 Answers  


Explain difference between machine config vs. Web config : Dot net architecture

0 Answers  


how do you hide maximize,minimize and close box at the form title bar?

1 Answers   Six Sigma,


Wcf- What is ABC

1 Answers   PCS,


I am working with asp.net 2005 and Crystal report 10. I have an image field on my dataset to show on Crystal report.And the image is shows dynamically from database in image field of CR. The image field is showing well on my Crystal report on its first page with all other data but when i click to open second page of CR,it does not show any data on that.I found that this is because of adding the image field on crystal report. Because when i remove the image field from the CR then it will run both the pages of CR. I am using the Page Load event to bind CR data with Database. And i have already check with the Init event to bind CR , but it still not shows the data on second page when i use image field on that. Please give solution for that.....

0 Answers  






what is page_directive

1 Answers   BoA, ICT, PCS,


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

12 Answers   Interac, Six Sigma, TechUnity,


Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile

0 Answers  


Explain about continuable exceptions?

0 Answers  


What is difference between Desktop, Client Server & Web based applications?

0 Answers   Infogain,


how do create a repeater

3 Answers  


difference between Response.write,server.transfer and also which one is used when ?

0 Answers  


Categories