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
Can viewstate be accessed in another page?
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
How many types of file extensions for razor views in ASP.Net MVC?
How does session work in asp net?
What is a windows service?
Who generates session id?
What is server side session?
How do I open an ashx file in windows 7?
Who is using asp.net?
What are the different types of validation controls in asp.net?
What are ASHX files?
What is bson in web api?
How to reduce the width of textbox in editcommandcolumn of datagrid?
How can we identify that the page is post back in asp net?
How can you use a custom controls in ASP.NET application?