I am using Microsoft ASP.NET web matrix
I have data table called result
in MS Access. The name of access file is "roll number".
The table consists of following columns:
Roll number, name,
subject 1, subject 2, subject 3, subject 4, subject 5,
total marks, result
I want that when a user will enter a "roll number" in some textbox and clicks a "submit" button, he is redirected to page showing his results: roll number
, name
, subject 1..5
, total marks
and result
.
I want it to be two pages like this:
result.aspx -- where user enters his roll number and submits it
displayresults.aspx -- where a result is displayed like this:
ROLL NUMBER : (what user entered, looked up in MS Access)
NAME : ("name" read from record from MSAccess file)
SUBJECT
1 : (mark from "Subject1")
2 : (mark from "Subject2")
3 : (mark from "Subject3")
4 : (mark from "Subject4")
5 : (mark from "Subject5")
TOTAL MARKS (likewise)
RESULT (i.e. PASS/FAIL, as usual, from MSAccess)
How to connect such search engine with data kept in a table from an MS Access database?
Please give complete code to generate the web files.