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
Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?
How do cookies work? Give an example of their abuse.
What is server side routing?
How can we create a website?
Explain about the Class view window?
What is a global postback url?
What is difference between mvc and asp.net? : Asp.Net MVC
What are the advantages and limitations of query string?
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
How does asp page work?
Does asp.net still recognize the global.asa file?
Define the types of configuration files.
What is autopostback true?
List of words of preprocessor in .net?
How do I upload a file from my ASP.NET page?