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
What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?
What is different about namespace declaration when comparing that to package declaration in java?
Explain 'managed' mean in the .NET context
What is the purpose of hard disk? : Dot net architecture
Explain about the base class library provided by microsoft.net?
How to improve the cache performance? : .NET Architecture
Explain about validation?
How will you do windows authentication and what is the namespace?
Whats new features in Visual Studio 2012?
what are the events for a form?
Explain .net mobile selectionlist control? : Microsoft dot net mobile
Explain about developer benefit from memory management?
What actually happes when you add a something to arraylistcollection ?
how we can fire event in databound column in datagrid without using button?
What's new in the .net 2.0 class library?