You are on page 1of 2

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebCatalogo.aspx.

vb"
Inherits="SEMANA4.WebCatalogo" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title> Registro Empleados</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<script src="Scripts/bootstrap.min.js"></script>
<script src="Scripts/bootstrap.js"></script>

<style type="text/css">
.auto-style1 {
height: 20px;
}
tr {
height: 10px;
width:90px;
padding-left:40px;
}
</style>

</head>
<body>
<div class ="container">

<form id="form1" runat="server">


<div>
<asp:ImageButton ID="btninicio" runat="server" class="img-responsive"
ImageUrl="~/Images/canasta.png" Width="112px" />

<asp:DataList ID="DataList1" CssClass="list-group" runat="server"


DataSourceID="ObjectDataSource1" RepeatColumns="6">
<ItemTemplate>
<table class="table-responsive" >

<tr>
<td>
Codigo:
</td>
<br />
<td>
<asp:Label ID="codproductoLabel" CssClass="active"
runat="server" Text='<%# Eval("codproducto") %>' />
</td>
</tr>
<tr>
<td>Descripcion:</td>
<td>
<asp:Label ID="desproductoLabel" runat="server" Text='<
%# Eval("desproducto") %>' />
</td>
</tr>
<tr>
<td>Precio</td>
<td>
<asp:Label ID="preproductoLabel" runat="server" Text='<
%# Eval("preproducto") %>' />
</td>
</tr>
<tr>
<td>Cantidad</td>
<td>
<asp:Label ID="canproductoLabel" runat="server" Text='<
%# Eval("canproducto") %>' />
</td>
</tr>

<tr>
<td class="auto-style1" colspan="2">
<asp:Image ID="Image1" runat="server" CssClass="img-
responsive img-rounded" Height="140px" ImageUrl='<%# "~/images/"+Eval("foto") %>'
Width="190px" />
</td>
</tr>
<tr>
<td class="auto-style1" colspan="2">
<%--<asp:Button ID="Btnselecionar" runat="server"
CssClass=" btn btn-primary glyphicon glyphicon-open " CommandName="seleccionar"
Text="Aadir Carrito Compra" Width="190px" />--%>
<asp:LinkButton ID="btnseleccionar" runat="server"
CssClass="btn btn-sm btn-primary">
<span class="glyphicon glyphicon-shopping-
cart"></span>&nbsp; Aadir al carrito</asp:LinkButton>
</td>
</tr>
</table>
&nbsp;<br />
</ItemTemplate>
</asp:DataList>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
SelectMethod="ListarTodos"
TypeName="CapaNegocio.ProductosCN"></asp:ObjectDataSource>

</div>
</form>
</div>
</body>
</html>