Devendra  Kumar

Devendra Kumar

  • NA
  • 517
  • 246.2k

bind value on label in .net c#

Jul 4 2016 4:10 AM
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)