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

What is the difference between session and application?

900


What is the importance of Global.asax in ASP.NET?

1068


What are the ways to sending the data in ASP.NET page?

995


What is page fragment caching?

904


How can we use Web API with ASP.NET Web Form?

1053


What are the main differences between asp and asp.net?

979


Do session use cookies in asp net?

946


Which class is used to send an email message from an ASP.NET Web page?

962


How can we update records in gridview?Is there any appropriate code for it?

2093


What is the base class from which web forms are inherited?

948


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

902


What is the difference between the response.write() and response.output.write() methods?

956


Explain about asp.net 2.0 themes?

910


What does asp stand for in asp.net?

936


What is http protocol and how it works?

968