D
DC
So I have a DetailsView that when I go into insert new mode I want each
field to have a default value. How do I go about this?
Ive tried
<InsertParameters>
<asp
arameter Name="ImageName" Type="String">noimage.gif</asp
arameter>
<asp
arameter Name="Title" Type="String">Dr</asp
arameter>
<asp
arameter Name="ForeName" Type="String">Forename</asp
arameter>
<asp
arameter Name="SurName" Type="String">Surname</asp
arameter>
But this throws up a "No lietrals allowed"
Ive also tried
<InsertParameters>
<asp
arameter Name="ImageName" Type="String" DefaultValue="noimage.gif" />
<asp
arameter Name="Title" Type="String" DefaultValue="Dr" />
<asp
arameter Name="ForeName" Type="String" DefaultValue="Forename" />
<asp
arameter Name="SurName" Type="String" DefaultValue="Surname" />
But this seems to have no effect whatsoever.
So how should I actualy be going about setting the initial values of the
bound fields when they go into edit mode?
Thanks in advance,
field to have a default value. How do I go about this?
Ive tried
<InsertParameters>
<asp
<asp
<asp
<asp
But this throws up a "No lietrals allowed"
Ive also tried
<InsertParameters>
<asp
<asp
<asp
<asp
But this seems to have no effect whatsoever.
So how should I actualy be going about setting the initial values of the
bound fields when they go into edit mode?
Thanks in advance,