Multiple Properties

  • Thread starter Robson Carvalho Machado
  • Start date
R

Robson Carvalho Machado

Dear friends,

How can I create a Class and have multiple I/O porperties.

Example:
At my ASPX.VB I would like to pass

test.ID = "G25"

and receive the processed data

response.write test.name
response.write test.address
response.write test.zipcode

Description of what test class need to do:

Public Class test
... I need to pass an ID to be processed by SQL Query
... that is something like this: "Select name,address,zipcode from
customers where id" = ID
...and need to return to my ASPX.VB the result as properties:
... test.name = dbread("name")
... test.address = dbread("address")
... test.zipcode = dbread("zipcode")
end Class
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,139
Messages
2,570,807
Members
47,356
Latest member
Tommyhotly

Latest Threads

Top