Hi there...
For some reason my DDL, which the code is:
protected void DropDownListSoft_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList DDL_Soft = (DropDownList)SoftList.FindControl("DropDownListSoft");
string No = DDL_Soft.SelectedItem.Value;
}
keeps throwing up the error "Object reference not set to an instance of an object." any ideas why??
Stelly
For some reason my DDL, which the code is:
protected void DropDownListSoft_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList DDL_Soft = (DropDownList)SoftList.FindControl("DropDownListSoft");
string No = DDL_Soft.SelectedItem.Value;
}
keeps throwing up the error "Object reference not set to an instance of an object." any ideas why??
Stelly