<asp:TextBox ID="FirstName" runat="server" />
<asp:TextBox ID="LastName" runat="server" /><asp:TextBox ID="Age" runat="server" />
FirstName.Text = "Gary";
LastName.Text = "King";
Age.Text = "40";
for (int i = 1; i < dr.FieldCount; i++)
{
// use the column name to determine which form control (textbox) .Text property to set
dr.GetName(i).Text = dr.GetValue(i); // -- This is the bit that I am struggling with!
}