Hi all...
Got a bit of a problem....... Im quite new to asp.net 2.0 vb.net, so please bare with me, but i do know alot of the basics and alot of the pocedures to do things in asp.net.
Im using Visual Studio 2005 and im trying to make a User login page.
***** BACKGROUND****
Basicly i have a html site that my boss has asked me to make a members area to modify 1 page.
It is only going to have 2 users, the names = Sally and Brian.
The idea is they are going to be able to view a gridview of an access databse called "Casinos.mdb". Now i need Brian to have just read access to the database but i need sally to have full read and write permissions for it.
Now i know how to set the grid view up ect..... but i just dont know how to set up a user login so that they can view this gridview page.
Am i right in assuming i should create 2 pages for the gridview..... both pages have the same gridview of the database but one has full access and the other just read access, and just point sally when she logs in to the specific page, and brian to the other??
I hope im making sense..... if anyone can help that would be brilliant,. I cant find any tutorials for access databases using asp.net, so if anyone of you know a good one, please let me know.
Thanks again
Dan
What are you using for your security? AspNet Membership? Integrated Authority? etc?
This will make all the difference... but basically it will be something like
If Page.User.Identity.Name = "Brian" then
.....
End if
Hi Curt_C,
Thanks for that..... but im affraid i dont know how to make the login in page or even connect it to the access database.... Well i know how to make the txt boxes ect..... but i dont know how to insert the information from the text boxes to the database/ check that the user detials are correct ect ect
I'd suggest you download a Starter Kit then, to get you up to speed.
I have my simple Inventory Tracker (http://ITracker.df-software.com) available for free use, as one example.
BUMP!!!!
Please people realy need some help, i cant seem to make a members login application.... pleaseeeeeee...........
0 comments:
Post a Comment