int VoltageTypeID = Int32.Parse(ddlVoltageType.SelectedValue);
if (VoltageTypeID == 1)
{
lblApplicationType.Visible = false;
lbldoubledot4.Visible = false;
ddlApplicationType.Visible = false;
}
else
{
lblApplicationType.Visible = true;
lbldoubledot4.Visible = true;
ddlApplicationType.Visible = true;
}
int VoltageTypeID = Int32.Parse(ddlVoltageType.SelectedValue)
(這是格式錯誤)輸入字符串的不正確的格式的Visual Basic 2010
'ddlVoltageType.SelectedValue'不是數字 – Satpal