I want to create a web application that a user can access his/her profile.
For example, any form a user fill, it can be access in the user's profile. Please help me out.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Riddhi ValechaPosted Apr 17, 2013, 12:13 AM
As far as I understand, there will be 3 web pages -
1)Login Page - If the user is registered, he can sign with his ID and password. There will be a link for all non-registered users also.
2)Registration Page - From login page, if a new user clicks on "New User"(i.e. he is not registered), the system will redirect it to this page i.e. Registration Page.
3)Account Page - If the login is successful, then the system will redirect to this page.
--------------------
Database changes - make ID/Username unique and not null. i.e. Username should be different and not null(in sql server language-primary key column).
------------------
In the Account Page, do the following tasks
1)Save the username/ID from login Page - passing values between 2 pages in asp.net - I am assuming you know this.
2) Give a link to Profile.
3)When user clicks PROFILE Link, do the following -
3.1)Fire the query - select * from tablename where username='"+username+"'
3.2)Get all the values in a variable.
3.3)Redirect it to registration page.
3.4)Display all data.
3.5)Fire an update query - update tablename set column1='"++'" where Username='"+username+"'
------------------
Give a message on successful saving/updating of data.
---
Is this what you required??
louis TundePosted Apr 16, 2013, 3:45 PM
I want to create a web application that a user can access his/her profile. on like facebook and other social site where a user will have a profile after registering on the site.
Riddhi ValechaPosted Apr 16, 2013, 6:53 AM
Make use of Master Pages.
------------------------------
Can you give an example of what exactly you need ?