문제

I have a dropdown list that has multiple values that i am getting from my stored procedure. But there can be a case that my dropdown remains empty. so in that case i want the user to manually input the value. Can it be possible? If yes how? thanks.

도움이 되었습니까?

해결책

Use

if (ddl.Items.Count == 0) { txt.Enabled = true; } 
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top