To change metadata, you need to add some attributes to the properties of the model class (you can find them in the classes created by the DataContext if you use LinqToSql).
class User
{
[DefaultValue("The default name")]
string Name {get;set;}
}
, , , , DefaultValue,
Page_Load TextEdit:
if (!IsPostBack)
{
if (Mode == DataBoundControlMode.Insert && Column.DefaultValue != null)
{
TextBox1.Text = Column.DefaultValue.ToString();
}
}