Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET VB.NET
how to create a asp.net page for testimonials
similar page like below..please tell which control is used for that,can i do by using a loop.
http://beta.partysuppliesnow.com.au/customer-reviews.php
 
http://www.siteart.co.uk/pretty-css-testimonials
Posted 12-Jul-13 9:23am
Edited 12-Jul-13 9:41am
RyanDev129.8K
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

If you want to be sure of which control is used you can email the author, but I doubt you would get a response.
 
However, your second link is a tutorial to how to do it. So, it appears you have your answer.
  Permalink  
Comments
abey e mathews at 12-Jul-13 14:48pm
   
its css tutorials ..not .net tutorial.
i not like that like site..
 
i just need to how to do display more than two testimonials in a page ,feching from database..
ryanb31 at 12-Jul-13 14:51pm
   
But you can easily do CSS in .Net. CSS is just formatting. In .Net you would use a repeater control.
abey e mathews at 12-Jul-13 15:18pm
   
i sucessfully done the work..thanku
abey e mathews at 12-Jul-13 15:07pm
   
thanku
ryanb31 at 12-Jul-13 15:08pm
   
Sure. If you get stuck at a specific issue, come back and post a new question and we'll gladly help.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Start by reading and working through this[^].
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<!DOCTYPE html>
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="StyleSheet.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
 
        <ItemTemplate>
    <blockquote class="testimonial">
 

 
<%#Eval("msg")%>
 

 

        </blockquote>
<div class="arrow-down"></div>
<p class="testimonial-author"><%#Eval("name")%> | <span>   <%#Eval("company")%></span></p>
        </ItemTemplate>
 

        </asp:Repeater>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT * FROM [Table]"></asp:SqlDataSource>
 
    </div>
    </form>
</body>
</html>
  Permalink  
Comments
abey e mathews at 13-Jul-13 15:19pm
   
http://www.codeproject.com/Articles/31819/Pagination-with-Repeater-Control

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 319
1 Kornfeld Eliyahu Peter 265
2 Maciej Los 249
3 BillWoodruff 205
4 Sergey Alexandrovich Kryukov 175
0 OriginalGriff 5,107
1 DamithSL 4,157
2 Maciej Los 3,595
3 Kornfeld Eliyahu Peter 3,450
4 Sergey Alexandrovich Kryukov 2,741


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 13 Jul 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100