hi,please help.basically i have 5 textbox, i want to count the total of textbox only contain data.

for example:
text1.text =""
text2.text = 12.2
text3.text = 12.3
text4.text = 12.4
text5.text = 12.4

txtresult = 4 ,it only counting the textbox contain value as a 1.if textbox is empty = 0

please help.thanks.