Click here to Skip to main content
15,918,668 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am new in asp and i want to set dynamic data..

in making site i have full page size of data so how i can store that data in database and can retrieve it into the site..
Posted
Comments
Jibesh 23-Dec-12 14:23pm    
what do you mean by paragraph? is it data your are going to store in sql?

Your question and the explanation do not match. have you tried to use the already available information on the net ? any effort so far?
AndroidVivek 25-Dec-12 4:04am    
of course I tried , Its paragraph size data I want to store in sql...

You can use HttpUtility.HtmlEncode[^] and HttpUtility.HtmlDecode[^] Methods...
 
Share this answer
 
Comments
AndroidVivek 25-Dec-12 4:05am    
thanks for this link its nice
[no name] 25-Dec-12 4:16am    
If you're satisfied with the given answer, Accept the Solution :)
-Krunal R.
If you want to store large amounts of text in a SQL database, then you want to use either a varchar(max) or a nvarchar(max) column to store that data. In case you don't know the difference, nvarchar will support Unicode characters. If you aren't sure if you will need Unicode support, that means you probably will so use nvarchar. If you know for absolute certainty that you won't need it then use varchar (uses half the space). These column types work like any other column in how you read and write to them. The only difference is that if the data gets too large, SQL will store it on disk outside the normal storage. That will make the retrieval process take longer.

I would recommend you look into these options and carefully think through what is best for your situation.
 
Share this answer
 
Comments
AndroidVivek 25-Dec-12 4:05am    
thanks I found little solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900