<asp:DataList ID="DataList1" runat="server" onitemdatabound="DataList1_ItemDataBound">
<ItemTemplate>
<div id="div<%#Container.ItemIndex+1 %>"></div>
<script>
var id="#div"+i;
++i;
var n=<%# Eval("Score") %>;
$(id).rater(null , {maxvalue:10,curvalue:n,enabled:false,title:{1:'不满意',2:'满意',3:'很满意'}});
</script>
</ItemTemplate>
</asp:DataList>