If(dropdownlist1.selectedIndexChanged==true)
{
//code
}
else
{
//code
}
I am getting error in If condition, so can u pls give me a
solution.
Answer Posted / prashant yadav
selectedIndexChanged is a event while true is bool type
variable which is not corrct
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Is a dll file an executable?
Where is asp.net view state stored?
What is the difference between client-side and server-side validations in ASP.NET?
What are web server controls in asp.net?
Explain the main differences between asp and asp.net?
Define view state.
Elaborate differentiation between ViewState and SessionState?
What is sql data source control in asp.net?
What is the current version of asp.net?
What are the merits and demerits of viewstate?
Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc
How does session work?
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
What are the different web pages?
Define common type system?