Home > Net >  Vb.net database query out how to display the content of the text box
Vb.net database query out how to display the content of the text box

Time:02-10

Vb.net Ann query out the conditions of how to display the contents of a cell in the text box?

Dim the login As DataTable=SAN. Search (" SELECT WDMC From admin_user where UserID='" & amp; TextBox1. Text. Trim & amp; "'")


After this code into a text box input code 1, related code WDMC shows in the text box 2

CodePudding user response:

Query the data in the data in the table, how to organize the concatenated string shouldn't ask people, display the string in the text box is an assignment.

CodePudding user response:

Textbox2. Write what code to display the text=here?

CodePudding user response:

If the login. Rows. Count<> 0 then
Textbox2. Text=login. Rows (0). The item (0)
End the if

CodePudding user response:

Textbox2. Text="here is you want to display the contents of the"
  • Related