This is my code so far
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
namespace WebApplication1
{
public partial class _Default : System.Web.UI.Page
{
string password;
protected void Page_Load(object sender, EventArgs e)
{
StreamReader passwordStream = new StreamReader(@"K:\Uni (Year 3)\EJ315020S - Windows Application Devlopment\Projects\AssignmentProgram\LoginSystem\password.txt");
while (passwordStream.Peek() >= 0)
{
password = passwordStream.ReadLine();
}
}
protected void Button1_Click(object sender, EventArgs e)
{
if (TextUsername.Text == "Jbloggs")
{
if (TextPassword.Text == password)
{
}
}
else
{
}
}
}
}
i have searched for it, but all i can find is things about "URL Routing"
Thanks for the help

New Topic/Question
Reply



MultiQuote



|