Currently I want to develop a role based login pages using asp.net in vb.net language, and the database is sql server 2000. There are three fields in the database, simply userid, password and role. The role can be student and administrator. after the user login in to the pages, the system should determine the user role and determine which pages it should in. any one can guide me for the coding from the beginning connecting to database until determine of the user role. Thank