ok.. it solves 50% of my problem... now I need to update values of my object
(all the properties of the class) from the values of the textboxes of my
page...
Example:
MyClass.Name ----> txtName.text
MyClass.Surname ----> txtSurname.text
MyClass.Address ----> txtAddress.text
thank's!
"Karl" <none> ha scritto nel messaggio
news:un**************@TK2MSFTNGP10.phx.gbl...
Not 100% sure I understand, but you should be able to do:
VB.Net -->
<%# Ctype(Container.DataItem, YOURCLASS).PROPERTY %>
C#
<%# ((YOURCLASS)Container.DataItem).PROPERTY %>
You might need to <%@ Import NameSpace="namespace.of.your.class" %> at the
top
Karl
"Emanuele" <em********@telefonica.net> wrote in message
news:OK**************@TK2MSFTNGP12.phx.gbl... How can I set/get values of a webform from the values of the properties
of a class? Does exist some function that do it?
gracias;)