I am very new to asp.net and c# using web developer express 2010.
I have created a standard web application using web developer express 2010 which comes with membership and roles.
Let say, if i want to create a user with username and password, demo and demo, how do i do that? and for example, let say i want to assign demo role to user, and let demo user to view certain links, how can i do that in asp.net?
In php,
for example,
if($_POST['username'] == 'demo' && $_POST['password'] == 'demo') {
$_SESSION['demo'] = true;
}
....
if($_SESSION['demo'])
//codes
Please help me thanks