Rank: Member Groups: Member
Joined: 11/13/2012 Posts: 10
|
Hi.
I am using Rating with binding to a field in a MSSQL The field is int and everything is working with update and insert. When I select the field and bind it to Value property I get an error. Value='<%# Bind("SupplierRate")%>'>
If I bind the same field to a textbox, it works with the textbox. If I set the value to a fixed number it works.
Please advise
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Value is of decimal type. So make sure your data source is of the same type. If not, you will have to cast it.
Thanks!
|