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
14. What are your Future Plans for Swatz Oils GROUP U.K?
What is OSI layer? Explain different layers.
Explain automatic memory management in .net.
What is session in web technology?
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.
Web API supports which protocol?
What is the application pool?
What is difference between asp.net and asp?
Are cookies stored on server or client?
What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc
What is inproc and outproc?
List the major built-in objects in asp.net?
What is the main difference between Asp.net and Vb.net?
what are the ihttphandler and ihttphandlerfactory interfaces ?
How to comment out asp.net tags?