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
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