sharonniles
Programmer
I have a listview where users can add, edit or delete records. I want to add multiple email addresses to a single sales person. So let's say I find sales person 3 and want to add an email address for her.
I want the
UserName to be the Windows Authenticate, i.e. LoginName
SalesID to be the parameter # I just found
HistEffDate to be today's date
HistEndDate to be 12/31/9999
That way, all I need to type in is the email address. Everything else is already populated.
How do I fix the vb script below. Any help is appreciated. Thanks
<InsertItemTemplate>
<li style="">
UserName:
<asp:TextBox ID="UserNameText" runat="server" Text='<%# Bind("SenderName") %>' />
<br />
SalesID:
<asp:TextBox ID="SalesIDTextBox" runat="server" Text='<%# Bind("ProducerID") %>' />
<br />
EmailAddress:
<asp:TextBox ID="EmailAddressTextBox" runat="server" Text='<%# Bind("EmailAddress") %>' />
<br />
HistEffDate:
<asp:TextBox ID="HistEffDateTextBox" runat="server" Text='<%# Bind(#getdate()#) %>' />
<br />
HistEndDate:
<asp:TextBox ID="HistEndDateTextBox" runat="server" Text='<%# Bind("HistEndDate") %>' />
<br />
<asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="Insert" />
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="Clear" />
</li>
</InsertItemTemplate>
I want the
UserName to be the Windows Authenticate, i.e. LoginName
SalesID to be the parameter # I just found
HistEffDate to be today's date
HistEndDate to be 12/31/9999
That way, all I need to type in is the email address. Everything else is already populated.
How do I fix the vb script below. Any help is appreciated. Thanks
<InsertItemTemplate>
<li style="">
UserName:
<asp:TextBox ID="UserNameText" runat="server" Text='<%# Bind("SenderName") %>' />
<br />
SalesID:
<asp:TextBox ID="SalesIDTextBox" runat="server" Text='<%# Bind("ProducerID") %>' />
<br />
EmailAddress:
<asp:TextBox ID="EmailAddressTextBox" runat="server" Text='<%# Bind("EmailAddress") %>' />
<br />
HistEffDate:
<asp:TextBox ID="HistEffDateTextBox" runat="server" Text='<%# Bind(#getdate()#) %>' />
<br />
HistEndDate:
<asp:TextBox ID="HistEndDateTextBox" runat="server" Text='<%# Bind("HistEndDate") %>' />
<br />
<asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="Insert" />
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="Clear" />
</li>
</InsertItemTemplate>