Author: pedestrian | Posted on: 10/14/2008 5:11:03 AM | Views : 285

I have a problem putting data from a textbox into Database.I want to insert newline to database but i can't. I have this code.
*.aspx
<asp:TextBox ID="text" runat="server" Rows="8" Width="100%" TabIndex="4" TextMode="MultiLine"></asp:TextBox>
<%# Eval("text").ToString().Replace(Environment.NewLine,"<br />") %>
 *.cs
command.Parameters.AddWithValue("text", text.Text);
Where si the problem? 
...

Go to the complete details ...