Skip to content

Instantly share code, notes, and snippets.

@swade1987
Created February 10, 2016 17:28
Show Gist options
  • Save swade1987/f2322755b7d308e3dbba to your computer and use it in GitHub Desktop.
Save swade1987/f2322755b7d308e3dbba to your computer and use it in GitHub Desktop.
code
<asp:TemplateField HeaderText="API Source:" HeaderStyle-ForeColor="#008356" HeaderStyle-Font-Size="11px"
ItemStyle-Font-Size="11px">
<EditItemTemplate>
<asp:TextBox ID="txtAPISource" runat="server" ForeColor= "red" Font-Size ="11px" Font-Names="Trebuchet MS" width="200px" Text='<%# Bind("ASAPISource") %>'></asp:TextBox>
<asp:Label ID="lblAPISourceID" Visible="false" runat="server" Text='<%# Bind("ASID") %>'></asp:Label>
</EditItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtNewAPISource" runat="server"></asp:TextBox>
</FooterTemplate>
<ItemTemplate>
<asp:Label ID="lblAPISource" runat="server" Text='<%# Bind("ASAPISource") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle Font-Size="11px" ForeColor="#008356" />
<ItemStyle Font-Size="11px" Width="350px" Wrap="True" />
</asp:TemplateField>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment