Chiedo scusa sin da ora per l'ignoranza, e vi sarei molto grato per l'aiuto che saprete darmi
ho scritto un cosa tipo questa
il mio problema e' che nella textbox al posto di ogni carattere speciale compare questo carattere Âcodice:<%@ Page Language="vb" Debug="true"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click Dim text2 As String text2 = "··· 123 prova" TextBox2.Text = text2 End Sub </script> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" dir="ltr" lang="it"> <head runat="server"> <title></title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> </head> <body bgcolor="#000000"> <form id="form1" runat="server"> <div style="width: 796px;color:white;" lang="it-it"> <asp:Button ID="Button1" runat="server" Text="click" /> <asp:TextBox ID="TextBox2" runat="server" Visible="True" Width="54px" TextMode="MultiLine"></asp:TextBox> </div> </form> </body> </html>
e quindi qualcosa tipo "··· 123 prova" invece di "··· 123 prova"
come posso risolvere il problema?
Andrea

Rispondi quotando
