I am looking for advice on how the save long post contents in asp.net. What i mean is that i have a personal website (blog alike) in which i write some code snippets and tutorials. every post got header, tag, date and the content itself. right now i am saving all in mssql table but i am not sure this is the right way to do it, because the content of the post can get very long and i know that sql has a limit of 4000 chars (im using nvarchar as the type of the column). so i thought about saving the post content as usercontrol(.ascx) but from searching it looks too much complicated to create usercontrol on the fly and save it as a file.
so i need your advice on this.
I am looking for advice on how the save long post contents in asp.net.
Share
You can use
NVARCHAR(MAX)in SQL which removes the limit.