Five star rating sample script needed.

admin

Administrator
Staff member
Hi,

i am looking for a sample script to add in my site. like amazon style. llike a 5 star rating for each item, along with a area where user can enter their
comments and rating. and i also it must allow the user to enter only once...

i have a sample in Javascript, but i need something in VB.NET..

any help, any link, appericated..thx

GILI have created a table MSSQL that contain values and published into Datagrid.
The table is typically like this..

Tbl

ArticleRatingCount
133
200
321
445

Now I would like to Display images like Star instead of Numbers in the
Rating Column. Typically like this

ArticleRatingCount
1* * *3
2-0
3**1
4****5
i am new to ASP.NET, I am trying to figure it out but have no idea. any help ?

THxHow are you using this? Do you have a table in which when someone rates the content, it add's the content id and the rating or does it add the rating to a list of previous ratings?

I.E
RecordID|ContentID|Rating
1| 1| 3
2| 1| 2
3| 1| 5
4| 1| 1

or

ContentID|Ratings (Seperated by comma's, spaces, pipes, etc )
1| 3 2 5 1
2| 5 5 5 5
3| 4 2
4|
5| 5 2 1 5

Gav
 
Back
Top