title: I want to add products to my web page from database but in a custom div that I already have (ASP.NET)
body: <p>I have this problem where I created a shopping site with ASP.NET, but I want to when a client adds a product I want that product to be in a special div that I created that contains the image and the description of the product and the price and when they click on it they go to a blank page that contains all the info of that product.</p>
  
  <p>I don't know how to show information from the database in a div, I only show it in gridview that's all I know plus I want when they search a product the result will be shown in the same way.</p>
  
  <pre><code>*****UPDATE*****
  //this is what i tried for now but it didnt work it
   //This is my query  
  SELECT img, Détails FROM Produit WHERE (id_Prod = @id_Prod).
  //And this is what im trying now  
  &lt;asp:Repeater runat="server" ID="reptater"&gt;
  &lt;ItemTemplate&lt;section&lt;asp:HyperLinkID="HyperLink1"runat="server"NavigateUrl="~/Accueil.aspx"&gt; &lt;div class="gallery"&gt;&lt;asp:Image ID="Image1" ImageUrl="&lt;%#Eval("img") %&gt;"runat="server"width="600"height="400"/&gt;&amp;nbsp;&amp;nbsp;&lt;div class="desc"&gt;&lt;%#Eval("Détails") %&gt;&lt;/div&gt; &lt;/div&gt; &lt;/asp:HyperLink&gt; &lt;/section&gt;&lt;/ItemTemplate&gt;&lt;/asp:Repeater&gt;.
  // c# : 
   reptater.DataSource = SqlDataSource1;
              reptater.DataBind();
  </code></pre>