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
Define static member?
Explain about asp.net caching?
How can we pass info between 2 asp.net pages?
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
Where can I get information on cookies in asp.net?
Explain exception handling in .net.
What is enableviewstate in asp net?
What are the asp.net security controls?
How tooltip is set through code-behind in ASP.NET?
What is the difference between page directive include and action tag include?
What is meant by server side scripting?
What is difference between cookies and cache?
What is rending process in ASP.NET?
How do u declare static variable and how it is declared and what is its lifetime?
To bind columns manually which tags do you need to add within the asp:datagrid ?