N
nomail.thanks
I apologize for the question in advance. I have lots of experience
with lots of other languages, but now I'm trying to accomplish
something with VB.NET Express. My experience with VB.NET express is
less than a week. I've gone through what appear to be the relevant
tutorials that came with the product, consulted the two reference books
I have, explored the source code that is being generated by my project,
and played around trying various things for about a day and a half now,
and since I'm sure there is a simple solution to what I am trying to
accomplish, I decided the time has come to just ask the experts.
I've built my SQL database, and VB.NET is connecting to it just fine,
displaying the value of each row as details. The form which is
displaying the data also has a couple of buttons, and when I click on a
button, I want to pass the values being displayed in the form's text
fields to an external subroutine. The call to the subroutine is going
just fine, and I can pass constants to it, but I'm having trouble
figuring out how to get the data values I want out of the text fields.
Let's say my database is called MyDatabase, the table I'm accessing is
MyTable1, and the column I want to pass is Name. How do I get the
currently-displayed value of "Name" into a variable I can pass to a
subroutine? Or, even better, what is the variable that already
contains this value in VB.NET Express? Thanks in advance to anyone who
can provide a solution.
with lots of other languages, but now I'm trying to accomplish
something with VB.NET Express. My experience with VB.NET express is
less than a week. I've gone through what appear to be the relevant
tutorials that came with the product, consulted the two reference books
I have, explored the source code that is being generated by my project,
and played around trying various things for about a day and a half now,
and since I'm sure there is a simple solution to what I am trying to
accomplish, I decided the time has come to just ask the experts.
I've built my SQL database, and VB.NET is connecting to it just fine,
displaying the value of each row as details. The form which is
displaying the data also has a couple of buttons, and when I click on a
button, I want to pass the values being displayed in the form's text
fields to an external subroutine. The call to the subroutine is going
just fine, and I can pass constants to it, but I'm having trouble
figuring out how to get the data values I want out of the text fields.
Let's say my database is called MyDatabase, the table I'm accessing is
MyTable1, and the column I want to pass is Name. How do I get the
currently-displayed value of "Name" into a variable I can pass to a
subroutine? Or, even better, what is the variable that already
contains this value in VB.NET Express? Thanks in advance to anyone who
can provide a solution.