Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,150,701 members, 7,809,661 topics. Date: Friday, 26 April 2024 at 12:40 PM |
Nairaland Forum / Science/Technology / Programming / Vb.net Vb10 How Check If A Textbox Has Value (1743 Views)
Help Needed On VB.NET Program / How To Print All Records From A Datagridview In Vb.net (2) (3) (4)
Vb.net Vb10 How Check If A Textbox Has Value by abdul24(m): 10:09pm On Apr 06, 2015 |
Pls i nid, help am writing a program in vb10,i wnt to test if a textbox has data in it or not,am using if textbox2.focus =true then textbox3.enable = true textbox4.enable = true end if if textbox4.focus = true then textbox5.enable= true textbox6.enable=true end if bt it is nt working correct |
Re: Vb.net Vb10 How Check If A Textbox Has Value by DangotePikin: 8:50am On Apr 07, 2015 |
Which of the textbox do you want to enable? |
Re: Vb.net Vb10 How Check If A Textbox Has Value by iamuzor: 1:54pm On Apr 08, 2015 |
try: if textbox.text != "" //if textbox is not empty //do something else //do something else |
Re: Vb.net Vb10 How Check If A Textbox Has Value by valenu(m): 9:13pm On Apr 11, 2015 |
To check if a textbox is empty in vb.net, If textboxname.text="" then Msgbox("box is empty") Else Msgbox("box is not empty, contains " & textboxname.text) End if If u need any other assistance, don't hesitate. I will be following this thread |
Re: Vb.net Vb10 How Check If A Textbox Has Value by Nobody: 2:26pm On Apr 13, 2015 |
valenu:This should help you. 1 Like |
(1) (Reply)
. / Fortran / Devcenter Launches Job Platform For Software Developers
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6 |