Author: Michael_Eubanks | Posted on: 11/5/2009 2:14:54 PM | Views : 522

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