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
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What language is asp.net written in?
What is a viewbag?
What is rich control in asp.net?
What is dynamic web page with example?
What is the maximum amount of memory any single process on windows can address?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
What is difference between web config and global asax?
Which is the parent class of the ASP.NET server control?
Explain Features in ASP.NET
Define a static class?
Where session variables are stored?
What is enableviewstate?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
What are session state modes? List some of the important session state modes of asp.net.