HTML data from textarea is not being saved into DB
-
Hi all, I am using a textarea When I enter this text : <p>Hello</p> The data doesn't save to database... But, when I enter this text : Hello It works fine... It works fine on Localhost (for both cases) But on the server the data with HTML tags are not being saved... Please help... Suman Singh </x-turndown>
-
Hi all, I am using a textarea When I enter this text : <p>Hello</p> The data doesn't save to database... But, when I enter this text : Hello It works fine... It works fine on Localhost (for both cases) But on the server the data with HTML tags are not being saved... Please help... Suman Singh </x-turndown>
Hi, Please clarify your problem in proper words.....I could not get your problem. By the way,You can use multiline property of textbox which is similar to textarea control. I hope it will help you........
-
Hi, Please clarify your problem in proper words.....I could not get your problem. By the way,You can use multiline property of textbox which is similar to textarea control. I hope it will help you........
Hi Friends, Its a genuine problem i am also facing this. let me explain this a little bit. i have a textbox with multilines on my form. name text1 if i am using "insert into tbl1 field1 values '" + text1.Text + "')"; now if i put vlaue in text box "Hello every one" and clik on button to run the code it inserts the vlaue into table no problem. but if i enter vlaue "
Hello every one" this is where i am using a html tag. It throws exception. Naveed Kamboh
-
Hi, Please clarify your problem in proper words.....I could not get your problem. By the way,You can use multiline property of textbox which is similar to textarea control. I hope it will help you........
Nagraj, Thanks for your interest to my problem.. I m using textarea in a form. If I enter any text such as "suman singh", it workss fine and save data into database. But if I enter "
suman singh
", it does not save the data into database. I don't have any problem on localhost, but when I uploaded dll files and aspx files to the server, this problem occurs... Please help... Regards, Suman Singh