Today Resources

23 Feb

Ref:http://www.mattvarone.com

Ref:http://www.visual-blast.com

<asp:GridView ID=”GridView1″ runat=”server” AutoGenerateColumns=”False”
DataKeyNames=”ID” Style=”font-size: 10px; font-family: Verdana;
background-color: #3a322b; overflow: auto; color: #3a322b; width: 80%; border-right: white solid; border-top: white solid; border-left: white solid; border-bottom: white solid;” CellPadding=”5″ ForeColor=”White” GridLines=”Horizontal”
HorizontalAlign=”Left” BorderColor=”White”
PageSize=”9″ ShowHeader=”False” BackColor=”#3A322B”

>
<Columns>
<asp:TemplateField HeaderText=”Descripción”>
<EditItemTemplate>
<asp:TextBox ID=”TextBox2″ runat=”server” Text='<%# Bind(“name”) %>’ Style=”font-size: 10px;
font-family: Verdana;” Height=”10px” TextMode=”MultiLine” Width=”50px” BackColor=”Azure”
ForeColor=”Red”></asp:TextBox>
<br />
<asp:TextBox ID=”TextBox1″ runat=”server” Text='<%# Bind(“name”) %>’ Style=”font-size: 10px;
font-family: Verdana;” Height=”100px” TextMode=”MultiLine” Width=”400px” BackColor=”Azure”
ForeColor=”Red”></asp:TextBox>
</EditItemTemplate>
<ControlStyle Font-Size=”Small” Height=”125px” Width=”750px” />
<ItemTemplate>
<%–<%#Eval(“x”)%>
<%#Eval(“y”)%>–%>

<table width=”80%”>
<tr>
</tr>
<tr>
<td>
<img src=”images/<%#Eval(“image_1″)%>” align=”top” border=”1″ style=”vertical-align: top; border-right: whitesmoke thick solid; border-top: whitesmoke thick solid; border-left: whitesmoke thick solid; border-bottom: whitesmoke thick solid;” />
</td>
</tr>
</table>
<table style=”font-size: 12px; font-family: verdana”>
<tr>

<td style=”width: 250px”>
Category:<img src=”images/icons/<%#Eval(“cat_name”)%>.gif” align=”absMiddle” style=”vertical-align:middle ” />
<%–<%#Eval(“cat_name”)%>–%>
</td>
</tr>
<tr>
<td style=”width: 250px”>
Town:<a href=”zone_by_town.aspx?zone_id=<%# DataBinder.Eval(Container.DataItem, “zone_id”) %>&town=<%# DataBinder.Eval(Container.DataItem, “town”)%>” onmouseover=”Tip(‘All categories in this town’, BGCOLOR, ‘#EAF4E5’, BORDERCOLOR, ‘#999999′)” onmouseout=”UnTip()”><%#DataBinder.Eval(Container.DataItem, “town”)%> </a>
</td>
</tr>

<tr>
<td style=”width: 250px”>
Phone:<%#Eval(“phone”)%>
</td>
</tr>
<tr>
<td style=”width: 250px”>
WebPage:<a href=”<%# DataBinder.Eval(Container.DataItem, “webpage”) %>”><%#DataBinder.Eval(Container.DataItem, “webpage”)%></a>
</tr>
<tr>
<td height= “16” style=”width: 250px”>
</td>
</tr>
</table>
<table style=”width: 250px”>
<tr>
<td align=”right” style=”width: 100px”>

</tr>
</table>

</ItemTemplate>
<ItemStyle Width=”600px” />
</asp:TemplateField>
<asp:TemplateField HeaderText=”Pueblo”>

<ItemStyle HorizontalAlign=”Left” VerticalAlign=”Top” />
</asp:TemplateField>
<asp:TemplateField HeaderText=”Photo”>
<EditItemTemplate>
<asp:TextBox ID=”TextBox9″ runat=”server” Text='<%# Bind(“image_1″) %>’ Style=”font-size: 10px;
font-family: Verdana;” TextMode=”MultiLine” Width=”50px” BorderStyle=”Ridge”></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<table style=”width: 500px”>

<tr height=”15″>
<td valign =”bottom” style=”width: 85%”>
<asp:Label ID=”Label2″ runat=”server” Text=’ <%#Eval(“nameo”)%>’ style=”font-size: 18px; color: #3a322b; font-family: verdana; font-weight:700; height: 15px”></asp:Label>
</td>
</tr>
<tr>
<td style=”width: 65%; height: 22px; font-size: 12px; font-family: verdana;” bordercolor=”#ffff99″ rowspan=”10″ valign=”middle” >
<%–<asp:Label Width=”300px” ID=”Label1″ runat=”server” Text='<%# Bind(“description”) %>’ ></asp:Label>–%>
<%–<asp:Label ID=”Label3″ runat=”server” Text=’ <%# Bind(“description”) %>’ style=”font-size: 11px; color: #d5e1b9; font-family: verdana; height: 15px”></asp:Label>–%>
<%# Eval(“description”) %>
</td>
</tr>
</table>

<table style=”width: 100%”>
<tr>
<td align=”left” style=”width: 100px; font-size: 12px; font-family: verdana;”>
<%–<asp:Button ID=”Button2″ runat=”server” Style=”border-right: #25201b thin double;
border-top: #25201b thin double; font-size: 11px; border-left: #25201b thin double;
color: #d5e1b9; border-bottom: #25201b thin double; font-family: verdana; background-color: #6a5b4f”
Text=”More” Width=”84px” CommandName=”select” />–%>

<a href=”<%# DataBinder.Eval(Container.DataItem, “cat_name”)%>_detail.aspx?id=<%# DataBinder.Eval(Container.DataItem, “id”)%>&x=<%# DataBinder.Eval(Container.DataItem, “x”)%>&y=<%# DataBinder.Eval(Container.DataItem, “y”)%>”>More</a>
</tr>
</table>
</ItemTemplate>
<ItemStyle VerticalAlign=”Top” />
<ControlStyle Width=”600px” />
</asp:TemplateField>
<asp:BoundField DataField=”id” >
<ItemStyle CssClass=”hiddencol” />
</asp:BoundField>
</Columns>
<FooterStyle BackColor=”#507CD1″ Font-Bold=”True” ForeColor=”White” />
<RowStyle BackColor=”White” BorderColor=”DimGray” BorderStyle=”Ridge” BorderWidth=”1px” ForeColor=”#3A322B” />
<EditRowStyle BackColor=”Khaki” />
<SelectedRowStyle BackColor=”#D1DDF1″ Font-Bold=”True” ForeColor=”#333333″ VerticalAlign=”Top” />
<PagerStyle BackColor=”#EFF3FB” ForeColor=”ControlDarkDark” HorizontalAlign=”Left”
BorderStyle=”Groove” BorderWidth=”1px” Font-Bold=”True” />
<HeaderStyle BackColor=”LemonChiffon” Height=”1px” Font-Bold=”True” ForeColor=”RoyalBlue”
Width=”115px” Font-Names=”Verdana” />
<AlternatingRowStyle BackColor=”White” />
<PagerSettings Mode=”NextPreviousFirstLast” PageButtonCount=”5″ />

</asp:GridView>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: