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
Where is the view state data stored?
Explain server control extensibility with reference to asp.net 2.0 ?
What does clearing cache?
What is http response header?
How does a web application session work?
Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?
What is viewstate? What does the “enableviewstate” property do?
Explain server-side scripting?
What is protected configuration?
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 events will occur when a page is loaded?
Which is better union or union all?
What are assemblies and namespaces and explain the difference between them ?
What is owin authentication?
Explain the concept of event bubbling in ASP.NET?