7
Answers

bind value on label in .net c#

how to show value on label from database
 
i have value like column name price and value =15.75 and this value show on label
 
like:
 
<asp:Label ID="lbl_price" runat="server" Text='<%#Eval("price")%>'></asp:Label>
 
but it show only 15 not show .75
 
i want to show 15.75
 
and  my column price in decimal type 
 
Answers (7)