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
What is the difference between session and application?
What is the importance of Global.asax in ASP.NET?
What are the ways to sending the data in ASP.NET page?
What is page fragment caching?
How can we use Web API with ASP.NET Web Form?
What are the main differences between asp and asp.net?
Do session use cookies in asp net?
Which class is used to send an email message from an ASP.NET Web page?
How can we update records in gridview?Is there any appropriate code for it?
What is the base class from which web forms are inherited?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
What is the difference between the response.write() and response.output.write() methods?
Explain about asp.net 2.0 themes?
What does asp stand for in asp.net?
What is http protocol and how it works?