Hi, when my controls into updatepanel:
<asp:UpdatePanel ID="UpdatePanel2" runat="server"><ContentTemplate><br /><asp:TextBox ID="TextBox2" runat="server" Height="124px" TextMode="MultiLine"></asp:TextBox><asp:Button ID="Button2" runat="server" Text="Button" /></ContentTemplate></asp:UpdatePanel>
this code not work:
cmd1.Parameters.Add(New SqlParameter("@key1", TextBox2.Text.Replace(Environment.NewLine, "<br/>")))<br/> tag not insert to database, how i do?