Click here to Skip to main content
15,894,896 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello. I am using asp.net 4.0.

I have a textbox. I need to take the text in the textbox and pass it to a class in the app_code folder, so that I can use this text to do a SELECT statement in an SqlCommand. All this in vb.

Please show me step by step as I'm new to asp.net. P.S. I am using an ObjectDataSource
Many thanks.
Posted
Updated 22-Oct-14 8:32am
v2

1 solution

Um...
VB
Dim data As String = myTextBox.Text
Dim myClassInAppFolder As new MyClassInAppFolder(data)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900