Categories

Write to a text file using the FileStream StreamWriter class (ASP.NET)

Share

Even though databases are probably the most popular method for storing data, there are still many applications that rely on basic text files for logging and error tracking. So, if you’re writing to text files in .NET, then you need to get to know the StreamWriter class. The StreamWriter class is a member of the [...]

Share

Use ASP.NET's Visible property

Share

Use ASP.NET’s Visible property to do more than just hide the content (ASP.NET)

If you’ve explored ASP.NET’s server controls, you’ve probably run across the built-in Visible property. At first, you may wonder how it’s different from the CSS visibility setting. After all, both settings effectively make the relevant page element visible or invisible. The difference [...]

Share

Using ASP.NET to Read from a Text File Using FileStream StreamReader class

Share

Read from a text file using the FileStream StreamReader class (ASP.NET)
If you’re writing to text files in .NET, chances are there will come a time when you want to read from those text files as well. To accomplish this task, you’ll need to use the StreamReader class. The StreamReader class is a member of the [...]

Share