I have the code for making a single post:
string title;
string post;
using (StreamReader streamreader = File.OpenText(MapPath(@"Blog_Posts\Post.txt")))
{
title = streamreader.ReadLine();
post = streamreader.ReadToEnd();
title_lbl.Text = title;
post_lbl.Text = post;
}
The problem is when I want to make more posts. I do not have the possibility to use databases.
Any suggestions is appreciated, thank you.
...
Go to the complete details ...