Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Rating list Binding

Rating list Binding

Scheduled Pinned Locked Moved ASP.NET
wpfwcfquestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VishwaKL
    wrote on last edited by
    #1

    Hi guys, i have a data base table which has comments, users, and rating, i have to bind that rating information in the form stars according to individual user, like 1st user rated 1 so 1 star, 2nd user rated 3 so 3 star, what is the best way to achieve this.

    D 1 Reply Last reply
    0
    • V VishwaKL

      Hi guys, i have a data base table which has comments, users, and rating, i have to bind that rating information in the form stars according to individual user, like 1st user rated 1 so 1 star, 2nd user rated 3 so 3 star, what is the best way to achieve this.

      D Offline
      D Offline
      Dholakiya Ankit
      wrote on last edited by
      #2

      just googling i found http://stackoverflow.com/questions/15707759/how-to-create-a-list-of-top-rated-articles-for-a-period-of-time-asp-net-c-shar[^] http://www.dotnetcurry.com/ShowArticle.aspx?ID=440[^] AJAX ASP.NET Rating Control[^] :)

      V 1 Reply Last reply
      0
      • D Dholakiya Ankit

        just googling i found http://stackoverflow.com/questions/15707759/how-to-create-a-list-of-top-rated-articles-for-a-period-of-time-asp-net-c-shar[^] http://www.dotnetcurry.com/ShowArticle.aspx?ID=440[^] AJAX ASP.NET Rating Control[^] :)

        V Offline
        V Offline
        VishwaKL
        wrote on last edited by
        #3

        I was asked for average rating like 3 people rated the item average may come like 1.2, 3.5 that rating i have to bind from code/jquery or any technology. I also googled and got the links which you have given anyhow thanks for the reply. If you come to know the average binding of rating control please reply back Thanks Vishwa

        D 1 Reply Last reply
        0
        • V VishwaKL

          I was asked for average rating like 3 people rated the item average may come like 1.2, 3.5 that rating i have to bind from code/jquery or any technology. I also googled and got the links which you have given anyhow thanks for the reply. If you come to know the average binding of rating control please reply back Thanks Vishwa

          D Offline
          D Offline
          Dholakiya Ankit
          wrote on last edited by
          #4

          its very simple bro enter this rating in to datbase people have enter 2,3,4 then find average of that one select avg((2+3+4)/3) :)

          V 1 Reply Last reply
          0
          • D Dholakiya Ankit

            its very simple bro enter this rating in to datbase people have enter 2,3,4 then find average of that one select avg((2+3+4)/3) :)

            V Offline
            V Offline
            VishwaKL
            wrote on last edited by
            #5

            calculation part is done bind that "Double" value to the control is not so simple as you saying, i tried to bind 3.5 it covering 4 *'s in the control.

            D 1 Reply Last reply
            0
            • V VishwaKL

              calculation part is done bind that "Double" value to the control is not so simple as you saying, i tried to bind 3.5 it covering 4 *'s in the control.

              D Offline
              D Offline
              Dholakiya Ankit
              wrote on last edited by
              #6

              http://forums.asp.net/t/1596782.aspx?Star+Rating+with+decimals[^] see this link this is perfect what you want to do :)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups