I created a login form in asp, and I seem to get this error:
Parameter @id has no default value. Description: An unhandled exception occurred during the execution of the >current web request. Please review the stack trace for moreinformation about >the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Parameter @id has no >default value. Source Error: Line 18: }); Line 19: Line 20: OleDbDataReader reader = loginCommand.ExecuteReader(); Line 21: if (reader.Read()) Line 22: {
    OleDbConnection connection = new 
    OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + 
    Server.MapPath("\\App_Data\\talManager.mdb"));
    connection.Open();
    OleDbCommand loginCommand = new OleDbCommand();
    loginCommand.Connection = connection;
    loginCommand.CommandText = "SELECT [_fname], [_id], [_password] FROM 
    admins WHERE [_id] = @id AND [_password] = @password";
    loginCommand.Parameters.AddRange(new OleDbParameter[]
    {
        new OleDbParameter("@id", Request.Form["id"]),
        new OleDbParameter("@password", Request.Form["password"])
    });
OleDbDataReader reader = loginCommand.ExecuteReader();
if (reader.Read())
{
    Session["fname"] = reader["_fname"];
    Session["id"] = reader["_id"];
    Session["isAdmin"] = true;
} else
{
    error.InnerText = "Invalid ID or password.";
}
reader.Close();
connection.Close();
Any help would be appreciated. Thanks in advance!
 
    