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 / prashant yadav

selectedIndexChanged is a event while true is bool type
variable which is not corrct

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is windows active directory authentication?

1060


What is intrinsic objects in asp.net?

1230


what cut off mark for po's,what questions they asked for interview?

1864


Explain about Multi-Language integration?

1011


How can we register exception filter globally?

987


What are the Types of session management in ASP.NET

1038


How do I publish my asp.net application to my isp's web server?

1077


What is asp.net file?

1200


How can you implement encapsulation in asp.net?

13044


Which is better php or asp.net?

951


Differences between “dataset” and “datareader”.

1041


What is the difference between response.redirect and server.transfer?

1033


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

981


Can you use Web API with ASP.NET Web Form?

1152


What do you mean by serialize and marshalbyref?

1012