Lets say I have this object:
public class Customer
{
public string FirstName;
public string LastName;
public string Address1;
public string Address2;
public string City;
public string State;
public string Zip;
public DateTime BirthDate;
public string EMailAddress;
public string HomePhone;
public string WorkPhone;
}
.. and lets say I have it created here..
SomeData.APerson
How could I "databind" these values to asp text boxes?
Mabe somthing like this:
<asp:TextBox ID="FirstName" runat="server" Width="125px"
CausesValidation="True" ValidationGroup="A" Text ="<%# Bind(SomeData.APerson.FirstName) %>&quo ...
Go to the complete details ...