Drag and Drop the Login Control VS.NET toolbar under Login , change the form name to ‘Login.aspx’.
In the web.config file:
Add the codings given below
<authentication mode='Forms'>
<forms loginUrl='Login.aspx' protection='All'>
<credentials passwordFormat='Clear'>
<user name='Admin' password='Admin'/>
<user name='Super' password='Super'/>
<user name='User' password='User'/>
</credentials>
</forms>
</authentication>
When the user name and corresponding password mentioned above are given , then the login operation will be completed successfully.
Share with