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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -