how to add double quotes in textbox or label

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pooja8389
    New Member
    • Sep 2010
    • 22

    how to add double quotes in textbox or label

    plz tell me how can i give the text "" to textbox and label?

    if i use this shows the blank page and if i use (Text="""") then it shows output:"""".
    Code:
    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Try using the ASCII value for the double quote...like this:

    Code:
    <asp:Label ID="Label1" runat="server" Text="&&#35;34;&&#35;34;" />
    -Frinny

    Comment

    • pooja8389
      New Member
      • Sep 2010
      • 22

      #3
      thanku...thanku so much..

      Comment

      Working...