asp.net - Why would DropDownList.Text is return 0 when it is clearly an empty string? -
i have drop down list binding record sets value=0, text=''
the dropdownlist looks fine, not see text in control when try validate in code behind says dropdownlist.text = 0
i not know why control shows no text on form holds value in .text property, doesn't make sense. can help? thanks.
i fixed issue having inserting null value along text of '' , dropdownlist.text = '' intead of 0.
Comments
Post a Comment