Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I have a problem to assign dynamic value into double quotes(" ")
.
I want to assign dynamic value with in double quotes.

I want to show average rating using this code.

XML
<div class="comp-ratting">
                    <div class="rateit" data-rateit-value="5" data-rateit-ispreset="true" data-rateit-readonly="true"></div>&nbsp;&nbsp;4 of 5 - <a href="#">58 reviews</a></div>


I want place my query result value at dynamic in
data-rateit-value="query result valu"


How to assign dynamically.

Please help me.

Thank you.......
Posted
Comments
Karen Mitchelle 21-May-14 4:50am    
A variable, perhaps?
NagaRaju Pesarlanka 21-May-14 4:55am    
Thanks for reply......
I am using entityframework stored procedure, context is entity model object.
int x=context.mystoredprocedure(pass the argument)
the variable is x.
Srikanth954 21-May-14 5:11am    
use verbetrains in between you will get the expected output
string title = "Hi this is \"Srikanth\"";

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900