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
What asp.net control can embed xaml into asp.net pages?
How Session outproc in Sqlserver stored?
What is server side in asp.net?
Explain the components of web form in asp.net
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
What is paging in context of Memory?
To redirect the user to another page which method do we use without performing a round trip to the client?
What is _dopostback in asp net?
What is viewstate parameter?
How to send a DataReader as a parameter to a remote client ?
What is work flow gen? how can it will work with .Net?
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?
What is difference between viewstate and session state in javascript?
What is synchronous and Asynchronous post back ?
Define dll hell?