If(dropdownlist1.selectedIndexChanged==true)
{
//code
}
else
{
//code
}
I am getting error in If condition, so can u pls give me a
solution.
Answer Posted / narashiman
if we try to set the dropdownlist1 autopostback to true. we
will not get the error
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Is asp.net a programming language or framework?
What is a SESSION and APPLICATION object?
Which is the best institute to learn Microsoft Technologies and the faculty if you Know?
Which is the parent class of the ASP.NET server control?
What is asp.net response object?
What is Razor View Engine
What types of data validation events are commonly seen in the client-side form validation?
List the types of authentication supported by asp.net?
Why Unload event of MasterPage Calls first in ASP.net ?
For which does this Codebehind="MyCode.aspx.cs" is relevent to ?
How does viewstate work?
Write some code using interfaces, virtual methods, and an abstract class`
What is the difference between abstract class vs interface? Can give me the real time examples?
What is event in asp.net?
What is the difference between union and structure?