If(dropdownlist1.selectedIndexChanged==true)
{
//code
}
else
{
//code
}
I am getting error in If condition, so can u pls give me a
solution.
Answer Posted / milind
If(dropdownlist1.selectedIndexChanged!=0)
Try this 1 you will not get error
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Explain the use of view state?
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
What are Master Pages in ASP.NET?
What is an il?
How will you load dynamic assembly? How will create assesblies at run time?
Explain the difference between dataset and datareader.
What are user controls?
Explain the use of dataadapter.
List of words of preprocessor in .net?
What is base class of .net?
What is manifest in .net framework?
What is asp.net used for?
State differences between MVC and WebAPI
What is the difference between user control an custom control?
What does uri mean?