Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can viewstate be accessed in another page?

1025


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

2029


How many types of file extensions for razor views in ASP.Net MVC?

1217


How does session work in asp net?

1050


What is a windows service?

1087


Who generates session id?

936


What is server side session?

1003


How do I open an ashx file in windows 7?

1059


Who is using asp.net?

936


What are the different types of validation controls in asp.net?

1051


What are ASHX files?

1092


What is bson in web api?

1021


How to reduce the width of textbox in editcommandcolumn of datagrid?

992


How can we identify that the page is post back in asp net?

938


How can you use a custom controls in ASP.NET application?

995