okey Here v go...
1.You make a connection to the database, run a Command (e.g. a SQL Query) and put the returning data into a DataReader if you just want to look at it, or a DataAdapter. You then invoke a method against the DataAdapter to fill a DataSet, which you can then manipulate just like a database table so that you can read, edit, add, and delete, then you return the data via the DataAdapter which automatically takes care of making sure that all your changes are returned to the Database, it can even warn you about data concurrency problems. The great thing about this is that whilst you are doing all this it is not necessary to maintain a constant connection with the Database, you only need to connect for the times when data actually moves in and out of your DataAdapter.
For some specific code for a connection to an Access DB have a look at
http://msdn.microsoft.com/library/de...ssdatabase.asp
2.If you wanna login page ....Just follow this link...Its very nicely explained
http://www.daniweb.com/techtalkforum...ead.php?t=6028